mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-02 19:09:21 +01:00
Prepare universal workflow
This commit is contained in:
parent
86e00ff95f
commit
f59003917a
13
.github/workflows/images_build_windows.yml
vendored
13
.github/workflows/images_build_windows.yml
vendored
@ -54,8 +54,6 @@ jobs:
|
||||
is_default_branch: ${{ steps.branch_info.outputs.is_default_branch }}
|
||||
current_branch: ${{ steps.branch_info.outputs.current_branch }}
|
||||
sha_short: ${{ steps.branch_info.outputs.sha_short }}
|
||||
env:
|
||||
GIT_REF: ${{ env.TRUNK_ONLY_EVENT && env.TRUNK_GIT_BRANCH || '' }}
|
||||
steps:
|
||||
- name: Block egress traffic
|
||||
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
||||
@ -63,7 +61,16 @@ jobs:
|
||||
disable-sudo: true
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
github.com:443
|
||||
github.com:443 ${{ env.TRUNK_ONLY_EVENT && env.TRUNK_GIT_BRANCH || '' }}
|
||||
|
||||
- name: Test
|
||||
shell: bash
|
||||
env:
|
||||
GIT_REF: ${{ env.TRUNK_ONLY_EVENT && env.TRUNK_GIT_BRANCH || '' }}
|
||||
run: |
|
||||
echo $GIT_REF
|
||||
echo "${{ env.TRUNK_ONLY_EVENT }}"
|
||||
echo "$${{ env.TRUNK_GIT_BRANCH }}"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
Loading…
Reference in New Issue
Block a user