File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,21 @@ name: Post Release
22
33on :
44 workflow_dispatch :
5- workflow_run :
6- workflows : ["Publish Release"]
7- types :
8- - completed
5+ inputs :
6+ target_branch :
7+ description : ' Target branch (e.g., main, 8.0-stable)'
8+ required : true
9+ default : ' main'
10+ type : string
11+ repository_dispatch :
12+ types : [post-release]
913
1014jobs :
11- bump-dev-version :
12- if : github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
15+ post-release :
1316 uses : AlchemyCMS/.github/.github/workflows/post-release.yml@main
1417 with :
1518 version_file_path : lib/alchemy/version.rb
16- target_branch : ${{ github.event.workflow_run.head_branch }}
19+ target_branch : ${{ github.event.client_payload.target_branch || inputs.target_branch }}
1720 secrets :
1821 app_id : ${{ vars.ALCHEMY_BOT_APP_ID }}
1922 app_private_key : ${{ secrets.ALCHEMY_BOT_APP_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1414 uses : AlchemyCMS/.github/.github/workflows/release.yml@main
1515 with :
1616 version_file_path : lib/alchemy/version.rb
17+ target_branch : ${{ github.event.pull_request.base.ref || github.ref_name }}
1718 secrets :
1819 app_id : ${{ vars.ALCHEMY_BOT_APP_ID }}
1920 app_private_key : ${{ secrets.ALCHEMY_BOT_APP_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments