Skip to content

Commit 8ed49aa

Browse files
committed
chore: trigger auto release [bump-version]
1 parent 55e2acf commit 8ed49aa

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: 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

3040
concurrency:
3141
group: ${{ github.workflow }}-${{ github.ref }}-release
@@ -57,8 +67,8 @@ jobs:
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 }}

0 commit comments

Comments
 (0)