Skip to content

Commit

Permalink
Merge pull request #950 from mlcommons/scap3yvt-patch-1
Browse files Browse the repository at this point in the history
Checking codacy upload only for master
  • Loading branch information
sarthakpati authored Sep 30, 2024
2 parents 2953a5e + 0815fc8 commit 10bd05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
flags: unittests

- name: Upload coverage to Codacy
if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change
if: github.ref == 'refs/heads/master' # only run when on master
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
Expand Down

0 comments on commit 10bd05f

Please sign in to comment.