Skip to content

Commit dd110a9

Browse files
committed
ci: add automated backmerge workflow for version bump commits from main to develop
1 parent f13e304 commit dd110a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-backmerge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ on:
1717
jobs:
1818
backmerge:
1919
runs-on: ubuntu-latest
20-
# Only run this workflow when the commit message contains 'chore: bump version'
20+
# Only run this workflow when the commit message contains 'bump version'
2121
# This prevents unnecessary backmerges for regular commits to main
22-
if: startsWith(github.event.head_commit.message, 'bump version')
22+
if: contains(github.event.head_commit.message, 'bump version')
2323

2424
steps:
2525
# Step 1: Check out the repository code

0 commit comments

Comments
 (0)