Skip to content

Commit

Permalink
Exclude scripts directory from bandit (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni authored Oct 9, 2024
1 parent 5bed836 commit d721518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/static_code_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install bandit==1.7.7
- name: Save code analysis
run: bandit -r . -x ./tests -f txt -o static_code_analysis.txt --exit-zero
run: bandit -r . -x ./tests,./scripts -f txt -o static_code_analysis.txt --exit-zero
- name: Create pull request
id: cpr
uses: peter-evans/create-pull-request@v4
Expand Down

0 comments on commit d721518

Please sign in to comment.