Skip to content

Commit 504e292

Browse files
authored
Update ci.yml
1 parent 9c11c12 commit 504e292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
needs: [build] # build job must pass before we can release
6565

6666
if: github.event_name == 'push'
67-
&& startsWith(github.ref, 'refs/tags/v')
67+
&& (github.ref == 'refs/heads/release/2.x' || startsWith(github.ref, 'refs/tags/v'))
6868
&& github.repository == 'mockito/mockito-scala'
6969
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
7070

0 commit comments

Comments
 (0)