File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22name : Release
33
4- " on " :
4+ on :
55 workflow_dispatch :
66 inputs :
77 release_type :
@@ -26,6 +26,16 @@ name: Release
2626 description : " Manually override new version (e.g. 1.2.3 or 2026.6.2b1). Leave empty to use automatic calculation."
2727 required : false
2828 type : string
29+ push :
30+ branches :
31+ - main
32+ - master
33+ paths-ignore :
34+ - ' **/manifest.json'
35+ - ' **/translations/**'
36+ - ' CHANGELOG.md'
37+ - ' .github/workflows/issue-orchestrator.yml'
38+ - ' .github/ISSUE_TEMPLATE/**'
2939
3040concurrency :
3141 group : ${{ github.workflow }}-${{ github.ref }}-release
5767 id : get_version
5868 shell : bash
5969 env :
60- RELEASE_TYPE : ${{ inputs.release_type }}
61- BUMP_LEVEL : ${{ inputs.bump_level }}
70+ RELEASE_TYPE : ${{ github.event. inputs.release_type || (contains(github.event.head_commit.message, '[bump-version]') && 'stable' || 'beta') }}
71+ BUMP_LEVEL : ${{ github.event. inputs.bump_level || 'patch' }}
6272 VERSION_OVERRIDE : ${{ inputs.version_override }}
6373 REPO : ${{ github.repository }}
6474 OWNER : ${{ github.repository_owner }}
You can’t perform that action at this time.
0 commit comments