From 41da1a3bb28d113ac0367b40284b7953a1837903 Mon Sep 17 00:00:00 2001 From: Andrew Montanez Date: Wed, 4 Dec 2024 14:30:47 -0600 Subject: [PATCH] Updating the static code analysis workflow to ignore build folder (#689) --- .github/workflows/prepare_release.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index e1b69c0c..a755683b 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -40,12 +40,7 @@ jobs: -d ${{ inputs.date }} - name: Save static code analysis - env: - SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} - run: bandit -r . -x ./tests,./scripts -f txt -o static_code_analysis.txt --exit-zero + run: bandit -r . -x ./tests,./scripts,./build -f txt -o static_code_analysis.txt --exit-zero - name: Create pull request id: cpr