Skip to content

Commit b387634

Browse files
committed
Support stable branch releases
- release.yml: Trigger on *-stable branches - post-release.yml: Pass target_branch from workflow_run event
1 parent b0d8b90 commit b387634

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/post-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
uses: AlchemyCMS/.github/.github/workflows/post-release.yml@main
1313
with:
1414
version_file_path: lib/alchemy/version.rb
15+
target_branch: ${{ github.event.workflow_run.head_branch }}
1516
secrets:
1617
app_id: ${{ vars.ALCHEMY_BOT_APP_ID }}
1718
app_private_key: ${{ secrets.ALCHEMY_BOT_APP_PRIVATE_KEY }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
types: [closed]
77
branches:
88
- main
9+
- '*-stable'
910

1011
jobs:
1112
publish:

0 commit comments

Comments
 (0)