Skip to content

Commit 614ce7e

Browse files
authored
Ignore certain files for Codacy Scanning (#34)
* Ignore certain files for Codacy Scanning
1 parent c8f30a9 commit 614ce7e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.codacy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
exclude_paths:
2+
- .github/workflows/codacy.yml
3+
- .codacy.yml
4+
- "**/*.md"

.github/workflows/codacy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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@97bf5df3c09e75f5bcd72695998f96ebd701846e #v4.4.5
43+
uses: codacy/codacy-analysis-cli-action@562ee3e92b8e92df8b67e0a5ff8aa8e261919c08 #v4.4.7
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
@@ -54,8 +54,8 @@ jobs:
5454
# This will handover control about PR rejection to the GitHub side
5555
max-allowed-issues: 2147483647
5656

57-
# Upload the SARIF file generated in the previous step
58-
- name: Upload SARIF results file
59-
uses: github/codeql-action/upload-sarif@v3
60-
with:
61-
sarif_file: results.sarif
57+
# # Upload the SARIF file generated in the previous step
58+
# - name: Upload SARIF results file
59+
# uses: github/codeql-action/upload-sarif@v3
60+
# with:
61+
# sarif_file: results.sarif

0 commit comments

Comments
 (0)