Commit 504d28b 1 parent df327c1 commit 504d28b Copy full SHA for 504d28b
File tree 1 file changed +7
-13
lines changed
1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 14
14
# 2. Follow the annotated workflow below and make any necessary modifications then save the workflow to your repository
15
15
# and review the "Security" tab once the action has run.
16
16
17
- name : Credo
17
+ name : Code Scanning w/ SARIF output
18
18
19
19
on :
20
20
push :
21
21
branches : [ "master" ]
22
22
pull_request :
23
23
# The branches below must be a subset of the branches above
24
24
branches : [ "master" ]
25
- schedule :
26
- - cron : ' 33 2 * * 5'
27
25
28
26
permissions :
29
27
contents : read
@@ -41,16 +39,12 @@ jobs:
41
39
with :
42
40
otp-version : 26.2
43
41
elixir-version : 1.16.1
44
- - name : get dependencies
45
- run : mix deps.get
46
- - name : compile dependencies
47
- run : mix deps.compile
48
- - name : compile
49
- run : mix compile
50
- - name : credo-scan
51
- run : mix credo --format=sarif --mute-exit-status > credo_output.sarif
52
- - name : upload sarif
53
- uses : github/codeql-action/upload-sarif@v2
42
+ - run : mix deps.get
43
+ - run : mix deps.compile
44
+ - run : mix compile
45
+ - run : mix credo --format=sarif --mute-exit-status > credo_output.sarif
46
+ - name : Upload SARIF
47
+ uses : github/codeql-action/upload-sarif@v3
54
48
with :
55
49
# Path to SARIF file relative to the root of the repository
56
50
sarif_file : credo_output.sarif
You can’t perform that action at this time.
0 commit comments