Skip to content

Commit 8d8ab13

Browse files
committed
Revert version bump check to only trigger on PRs targeting main
1 parent 6b33501 commit 8d8ab13

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/version-bump-check.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,18 @@ name: Version Bump Check
22

33
on:
44
pull_request:
5-
branches: [main, dev]
5+
branches: [main]
66

77
jobs:
88
version-bump-check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Skip for non-main targets
12-
if: github.base_ref != 'main'
13-
run: |
14-
echo "PR targets '${{ github.base_ref }}', not 'main'. Skipping version bump check."
15-
exit 0
16-
1711
- name: Checkout PR branch
18-
if: github.base_ref == 'main'
1912
uses: actions/checkout@v4
2013
with:
2114
fetch-depth: 0
2215

2316
- name: Check version bump
24-
if: github.base_ref == 'main'
2517
run: |
2618
echo "Checking that all version numbers have been incremented..."
2719

0 commit comments

Comments
 (0)