Skip to content

Commit e3356c7

Browse files
updated codacy-analysis cli action
1 parent 9a28958 commit e3356c7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/codacy-analysis.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Codacy Security Scan
22

33
on:
44
push:
5-
branches: [ "master", "main" ]
5+
branches: ["master", "main"]
66
pull_request:
7-
branches: [ "master", "main" ]
7+
branches: ["master", "main"]
88

99
jobs:
1010
codacy-security-scan:
@@ -24,10 +24,9 @@ jobs:
2424
# Force 0 exit code to allow SARIF file generation
2525
# This will handover control about PR rejection to the GitHub side
2626
max-allowed-issues: 2147483647
27-
27+
2828
# Upload the SARIF file generated in the previous step
2929
- name: Upload SARIF results file
30-
uses: github/codeql-action/upload-sarif@master
30+
uses: github/codeql-action/upload-sarif@main
3131
with:
3232
sarif_file: results.sarif
33-

0 commit comments

Comments
 (0)