Skip to content

Commit

Permalink
chore(spring-v3): make push badge only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
Verissimo Ribeiro committed Jan 13, 2024
1 parent 72da703 commit 2228bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
jacoco-csv-file: build/reports/jacoco/test/jacocoTestReport.csv

- name: Commit and push the badge (if it changed)
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: EndBug/add-and-commit@v7
with:
default_author: github_actions
Expand Down

0 comments on commit 2228bd5

Please sign in to comment.