Skip to content

Commit e444fa0

Browse files
authored
Only update badges on main branch (#4)
1 parent 3a2dab4 commit e444fa0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ name: Java CI with Maven
1010

1111
on:
1212
push:
13-
branches: [ "main" ]
13+
branches:
14+
- main
1415
pull_request:
15-
branches: [ "main" ]
16+
branches:
17+
- main
1618

1719
jobs:
1820
build:
@@ -71,3 +73,4 @@ jobs:
7173
token: ${{ secrets.GITHUB_TOKEN }}
7274
message: 'Update code coverage badges'
7375
add: '*.svg'
76+
branch: main

0 commit comments

Comments
 (0)