Skip to content

Commit 9677f96

Browse files
authored
fix: minor version bump action (#135)
1 parent 684ed83 commit 9677f96

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/minor-version-bump/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ runs:
1111

1212
- name: Verify minor version bump
1313
shell: bash
14-
run: ./gradlew verifyMinorVersionBump
14+
run: |
15+
# Only continue on branches starting with vX.X (e.g. v1.2, v1.2.3, v1.2-main)
16+
if [[ ! "${{ github.head_ref }}" =~ ^v[0-9]+\.[0-9]+.*$ ]]; then
17+
exit 0
18+
fi
19+
20+
./gradlew verifyMinorVersionBump

0 commit comments

Comments
 (0)