Skip to content

Commit

Permalink
Merge pull request #6 from MTES-MCT/tristanrobert/issue5
Browse files Browse the repository at this point in the history
feat: add state filter
  • Loading branch information
tristanrobert authored Mar 16, 2022
2 parents 849850b + 52f1f75 commit e8fe792
Show file tree
Hide file tree
Showing 10 changed files with 9,438 additions and 37 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
with:
token: ${{ secrets.CODESCANALERTS_TOKEN }}
repositories: MTES-MCT/carbure,MTES-MCT/partaj
state: open
output: codescanalerts.json
- name: test output
run: |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
token: ${{ secrets.CODESCANALERTS_TOKEN }}
repositories: MTES-MCT/action-bidonvilles,MTES-MCT/partaj
output: codescanalerts.json
state: open
```
## Hacking
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ inputs:
description: 'Path to output file. defaults to codescanalerts.json'
default: 'codescanalerts.json'
required: true
state:
description: 'Filtered by state'
default: "open"
required: false
runs:
using: 'node12'
main: 'dist/index.js'
Loading

0 comments on commit e8fe792

Please sign in to comment.