Skip to content

Commit

Permalink
ci: Updating workflow to skip codacy checks on forked PRs.
Browse files Browse the repository at this point in the history
Signed-off-by: Vasil Boyadzhiev <vasil.boyadzhiev@limechain.tech>
  • Loading branch information
san-est committed Oct 29, 2024
1 parent b7fab35 commit 90c762f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node-zxc-compile-application-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ jobs:
- name: Publish to Codacy
env:
CODACY_PROJECT_TOKEN: ${{ secrets.codacy-project-token }}
if: ${{ inputs.enable-unit-tests && !cancelled() }}
if: ${{ inputs.enable-unit-tests && !cancelled() && !github.event.pull_request.head.repo.fork }}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l Java -r gradle/aggregation/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml

- name: Upload Test Reports
Expand Down

0 comments on commit 90c762f

Please sign in to comment.