Skip to content

Commit 87c23b4

Browse files
should only run on frontend branches (#26)
* should only run on frontend branches * chore: bump version --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 1c9e629 commit 87c23b4

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.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: |

MyMusicClientSveltePwa/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MyMusicClientSveltePwa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mymusicclientsveltepwa",
33
"private": true,
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"type": "module",
66
"scripts": {
77
"dev": "vite --host",

0 commit comments

Comments
 (0)