Skip to content

Commit b1561a0

Browse files
authored
PR #523: Fix Codacy workflows
* Fix typo and set max allowed to 9999 * Add codacy config * Update on-push.yml * Add project token to Push WF * Add project token to PR WF * Add Codacy upload to push WF * Add Codacy upload to PR WF
1 parent d6735bd commit b1561a0

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.codacy.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
exclude_paths:
3+
- 'docs/**/*'

.github/workflows/on-push.yml

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ jobs:
5252
uses: actions/checkout@v2
5353
- name: Run codacy-analysis-cli
5454
uses: codacy/codacy-analysis-cli-action@1.0.1
55+
with:
56+
# The current issues needs to be fixed before this can be removed
57+
max-allowed-issues: 9999
58+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
59+
upload: true
5560

5661
Package:
5762
needs: [BuildAndTest]

.github/workflows/pull-request.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ jobs:
6969
- name: Checkout code
7070
uses: actions/checkout@v2
7171
- name: Run codacy-analysis-cli
72-
uses: codacy/codacy-analysis-cli-action@@1.0.1
72+
uses: codacy/codacy-analysis-cli-action@1.0.1
73+
with:
74+
# The current issues needs to be fixed before this can be removed
75+
max-allowed-issues: 9999
76+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
77+
upload: true
7378

7479
Pack:
7580
needs: [Build, Test]

0 commit comments

Comments
 (0)