Skip to content

Commit

Permalink
PR icsharpcode#523: Fix Codacy workflows
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
piksel authored Oct 8, 2020
1 parent d6735bd commit b1561a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .codacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
exclude_paths:
- 'docs/**/*'
5 changes: 5 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
uses: actions/checkout@v2
- name: Run codacy-analysis-cli
uses: codacy/[email protected]
with:
# The current issues needs to be fixed before this can be removed
max-allowed-issues: 9999
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
upload: true

Package:
needs: [BuildAndTest]
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run codacy-analysis-cli
uses: codacy/codacy-analysis-cli-action@@1.0.1
uses: codacy/[email protected]
with:
# The current issues needs to be fixed before this can be removed
max-allowed-issues: 9999
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
upload: true

Pack:
needs: [Build, Test]
Expand Down

0 comments on commit b1561a0

Please sign in to comment.