-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a3aae3
commit e20ee40
Showing
21 changed files
with
191 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# Runs bandit security checker for code written in Python. | ||
name: Bandit | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
linux: | ||
name: Bandit | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone the git repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pip packages | ||
run: pip install -r third_party/requirements.txt | ||
|
||
# Scan is run only for the 'tools' folder. | ||
- name: Run Bandit | ||
run: | | ||
bandit -r tools | ||
## Runs bandit security checker for code written in Python. | ||
#name: Bandit | ||
# | ||
#on: [push, pull_request, workflow_dispatch] | ||
# | ||
#concurrency: | ||
# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
# cancel-in-progress: true | ||
# | ||
#jobs: | ||
# linux: | ||
# name: Bandit | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - name: Clone the git repo | ||
# uses: actions/checkout@v3 | ||
# | ||
# - name: Install pip packages | ||
# run: pip install -r third_party/requirements.txt | ||
# | ||
# # Scan is run only for the 'tools' folder. | ||
# - name: Run Bandit | ||
# run: | | ||
# bandit -r tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.