Skip to content

Commit 8ea1da3

Browse files
authored
Fixing sanity workflow (#96)
1 parent 37a691b commit 8ea1da3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/sanity-test.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,6 @@ jobs:
1919
runs-on: tools-runner
2020

2121
steps:
22-
- name: Check for skip sanity test label
23-
id: check-skip-sanity-test
24-
env:
25-
GH_TOKEN: ${{ github.token }}
26-
run: |
27-
gh api -H "Accept: application/vnd.github+json" /repos/sysdiglabs/terraform-aws-secure/issues/${{ github.event.pull_request.number }}/labels | jq '[.[].name]' > /tmp/label_list
28-
if grep -q 'skip-sanity-test' /tmp/label_list; then
29-
echo "Skipping terraform-aws-secure-onboarding-tests job as skip-sanity-test label is present"
30-
echo "SKIP_SANITY_TEST=true" >> $GITHUB_OUTPUT
31-
else
32-
echo "SKIP_SANITY_TEST=false" >> $GITHUB_OUTPUT
33-
fi
34-
3522
- name: Trigger Onboarding job for this repo
3623
if: ${{ steps.check-skip-sanity-test.outputs.SKIP_SANITY_TEST == 'false'}}
3724
id: trigger-jenkins-job

0 commit comments

Comments
 (0)