Skip to content

Commit 3868a74

Browse files
Update README.md
Update README.md with config for fixed version
1 parent 5feae96 commit 3868a74

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ Bandit is a tool designed to find common security issues in Python code. This ac
1111
To run a bandit scan include a step like this:
1212

1313
```yaml
14-
uses: reactive-firewall/bandit-action@v2
15-
with:
14+
uses: reactive-firewall/[email protected]
15+
with: # optional arguments
16+
# Github token of the repository (automatically created by Github)
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information.
1618
path: "."
1719
level: high
1820
confidence: high
19-
exit_zero: true
21+
# exit with 0, even with results found
22+
exit_zero: true # optional, default is DEFAULT
2023
```
2124
2225
## Inputs

0 commit comments

Comments
 (0)