Skip to content

Commit 1bebf16

Browse files
authored
Update codacy.yml
Fix: Update to latest codacy workflow
1 parent 5b2de44 commit 1bebf16

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/codacy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
# The branches below must be a subset of the branches above
2121
branches: [ "master" ]
2222
schedule:
23-
- cron: '24 11 * * 0'
23+
- cron: '16 18 * * 4'
2424

2525
permissions:
2626
contents: read
@@ -30,17 +30,17 @@ 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
33+
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
3434
name: Codacy Security Scan
3535
runs-on: ubuntu-latest
3636
steps:
3737
# Checkout the repository to the GitHub Actions runner
3838
- name: Checkout code
39-
uses: actions/checkout@main
39+
uses: actions/checkout@v4
4040

4141
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
4242
- name: Run Codacy Analysis CLI
43-
uses: codacy/codacy-analysis-cli-action@master
43+
uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
4444
with:
4545
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
4646
# You can also omit the token and run the tools that support default configurations
@@ -56,6 +56,6 @@ jobs:
5656

5757
# Upload the SARIF file generated in the previous step
5858
- name: Upload SARIF results file
59-
uses: github/codeql-action/upload-sarif@v2
59+
uses: github/codeql-action/upload-sarif@v3
6060
with:
6161
sarif_file: results.sarif

0 commit comments

Comments
 (0)