Skip to content

Commit

Permalink
Merge branch 'main' into rename-bandit-version-to-version
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Apr 9, 2021
2 parents 4a28912 + c6e2706 commit ea3454a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,18 @@ jobs:
uses: reviewdog/action-shellcheck@v1
- name: Run bandit
uses: ./
- name: Run bandit with a single target
uses: ./
with:
targets: "test_project"
- name: Run bandit with a list of targets
uses: ./
with:
targets: |
test_project
- name: Run bandit with a different version
uses: ./
with:
version: "1.6.3"
targets: |
test_project
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ bandit
| Input | type | required | default | description |
|:-------------:|:-----------:|:-------------:|:----------------------------:|:-------------:|
| version | `string` | `true` | `1.7.0` | Bandit version to be installed |
| version | `string` | `true` | `1.7.0` | Bandit version to be installed ([possible choices](https://github.com/PyCQA/bandit/tags)) |
| targets | `string[] or string` | `true` | `.` | Targets to run bandit checks |
| options | `string` | `true` | `-r` | Extra options ([possible choices](https://github.com/PyCQA/bandit#usage)) |
| options | `string` | `true` | `-r` | Extra options ([possible choices](https://github.com/tj-actions/bandit/blob/rename-bandit-version-to-version/action.yml#L14)) |



Expand Down

0 comments on commit ea3454a

Please sign in to comment.