Skip to content

Commit a8dcee8

Browse files
committed
should only run on frontend branches
1 parent 1c9e629 commit a8dcee8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# .github/workflows/bump-version.yml
21
name: Auto Bump Version
32

43
on:
@@ -15,6 +14,7 @@ permissions:
1514

1615
jobs:
1716
bump:
17+
if: contains(github.head_ref, 'frontend')
1818
runs-on: ubuntu-latest
1919

2020
steps:
@@ -34,7 +34,6 @@ jobs:
3434
working-directory: MyMusicClientSveltePwa
3535
run: npm version patch --no-git-tag-version
3636

37-
# Optional: Commit version bump to the PR branch (not to main)
3837
- name: Commit version bump to PR branch
3938
working-directory: MyMusicClientSveltePwa
4039
run: |

0 commit comments

Comments
 (0)