Skip to content

Commit

Permalink
Publish to Code Climate from main only
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Feb 1, 2024
1 parent 8893f38 commit c0cfc01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/quick_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
--no-transfer-progress \
--batch-mode \
package
- name: Test & publish code coverage
- id: code-climate
name: Test and publish code coverage to Code Climate
uses: paambaati/codeclimate-action@v5.0.0
if: github.ref == 'refs/heads/main'
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
JACOCO_SOURCE_PATH: "${{github.workspace}}/src/main/java"
Expand Down

0 comments on commit c0cfc01

Please sign in to comment.