From baf6ed10a322d1fdfcbd24bddc84bbb32640462b Mon Sep 17 00:00:00 2001 From: Mital Shah Date: Tue, 2 Dec 2025 12:18:35 -0800 Subject: [PATCH] Fixing sanity workflow --- .github/workflows/sanity-test.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/sanity-test.yaml b/.github/workflows/sanity-test.yaml index be4a268..646a847 100644 --- a/.github/workflows/sanity-test.yaml +++ b/.github/workflows/sanity-test.yaml @@ -19,19 +19,6 @@ jobs: runs-on: tools-runner steps: - - name: Check for skip sanity test label - id: check-skip-sanity-test - env: - GH_TOKEN: ${{ github.token }} - run: | - 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 - if grep -q 'skip-sanity-test' /tmp/label_list; then - echo "Skipping terraform-aws-secure-onboarding-tests job as skip-sanity-test label is present" - echo "SKIP_SANITY_TEST=true" >> $GITHUB_OUTPUT - else - echo "SKIP_SANITY_TEST=false" >> $GITHUB_OUTPUT - fi - - name: Trigger Onboarding job for this repo if: ${{ steps.check-skip-sanity-test.outputs.SKIP_SANITY_TEST == 'false'}} id: trigger-jenkins-job