File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ name: Codacy Security Scan
1515
1616on :
1717 push :
18- branches : [ master ]
18+ branches : [" master" ]
1919 pull_request :
2020 # The branches below must be a subset of the branches above
21- branches : [ master ]
21+ branches : [" master" ]
2222 schedule :
23- - cron : ' 16 13 * * 5 '
23+ - cron : " 42 10 * * 3 "
2424
2525permissions :
2626 contents : read
@@ -30,12 +30,13 @@ jobs:
3030 permissions :
3131 contents : read # for actions/checkout to fetch code
3232 security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
33+ actions : read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
3334 name : Codacy Security Scan
3435 runs-on : ubuntu-latest
3536 steps :
3637 # Checkout the repository to the GitHub Actions runner
3738 - name : Checkout code
38- uses : actions/checkout@v2
39+ uses : actions/checkout@v4
3940
4041 # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
4142 - name : Run Codacy Analysis CLI
5556
5657 # Upload the SARIF file generated in the previous step
5758 - name : Upload SARIF results file
58- uses : github/codeql-action/upload-sarif@v1
59+ uses : github/codeql-action/upload-sarif@v3
5960 with :
6061 sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments