We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5217348 commit d89b286Copy full SHA for d89b286
1 file changed
.github/workflows/ci.yml
@@ -11,6 +11,9 @@ on:
11
jobs:
12
scan_ruby:
13
runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
+ security-events: write
17
18
steps:
19
- name: Checkout code
@@ -23,7 +26,13 @@ jobs:
23
26
bundler-cache: true
24
27
25
28
- name: Scan for common Rails security vulnerabilities using static analysis
- run: bin/brakeman --no-pager
29
+ continue-on-error: true
30
+ run: bin/brakeman --no-pager -f sarif -o brakeman.sarif.json
31
+
32
+ - name: Upload SARIF to GitHub Code Scanning
33
+ uses: github/codeql-action/upload-sarif@v4
34
+ with:
35
+ sarif_file: brakeman.sarif.json
36
37
scan_js:
38
0 commit comments