File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments