You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Bandit security linter
v4.1
bandit is a security linter from PyCQA
Minimal version
...
steps:
- uses: actions/checkout@v2
- name: Run bandit
uses: tj-actions/bandit@v4
Using inputs
...
steps:
- uses: actions/checkout@v2
- name: Run bandit
uses: tj-actions/bandit@v4
with:
version: "1.7.0"
targets: | # or a single string "."
test_package
options: "-r"
Input | type | required | default | description |
---|---|---|---|---|
version | string |
true |
1.7.0 |
Bandit version to be installed (possible choices) |
targets | string[] or string |
true |
. |
Targets to run bandit checks |
options | string |
true |
-r |
Extra options (possible choices) |
- Free software: MIT license
This package was created with Cookiecutter.
Report bugs at https://github.com/tj-actions/bandit/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your workflow that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.