forked from devmasx/brakeman-linter-action
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add correct github API header and update test
- Loading branch information
1 parent
d42e326
commit 4a71afc
Showing
3 changed files
with
7 additions
and
8 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 |
---|---|---|
|
@@ -13,7 +13,7 @@ regardless of context. | |
|
||
```yml | ||
- name: Brakeman | ||
uses: cookpad/[email protected].3 | ||
uses: cookpad/[email protected].4 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
``` | ||
|
@@ -28,7 +28,7 @@ regardless of context. | |
run: | | ||
brakeman -f json > tmp/brakeman.json || exit 0 | ||
- name: Brakeman | ||
uses: cookpad/[email protected].3 | ||
uses: cookpad/[email protected].4 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
REPORT_PATH: tmp/brakeman.json | ||
|
@@ -38,7 +38,7 @@ regardless of context. | |
```yml | ||
- name: Brakeman | ||
uses: cookpad/[email protected].3 | ||
uses: cookpad/[email protected].4 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
PROJECT_PATH: my_rails_app | ||
|
@@ -57,7 +57,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Brakeman | ||
uses: cookpad/[email protected].3 | ||
uses: cookpad/[email protected].4 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
``` | ||
|
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
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