Skip to content

Commit 493b0ab

Browse files
committed
Only merge badges in main
1 parent 49dbe1a commit 493b0ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
6363
6464
- name: Commit the badge (if it changed)
65+
if: github.ref == 'refs/heads/main'
6566
run: |
6667
if [[ `git status --porcelain` ]]; then
6768
git config --global user.name 'Okke Harsta'

0 commit comments

Comments
 (0)