Skip to content

Commit 278b679

Browse files
committed
chore: fix release variables and add workflow concurrency [bump-version]
1 parent 8ed49aa commit 278b679

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci-orchestrator.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ permissions:
1313
security-events: write
1414
actions: read
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}-ci
18+
cancel-in-progress: true
19+
1620
jobs:
1721
lint-test:
1822
name: Lint & Test

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
- name: Update Files
147147
shell: bash
148148
run: |
149-
python .github/scripts/version_manager.py bump --type ${{ inputs.release_type }} --level ${{ inputs.bump_level }} --override "${{ inputs.version_override }}"
149+
python .github/scripts/version_manager.py bump --type ${{ github.event.inputs.release_type || (contains(github.event.head_commit.message, '[bump-version]') && 'stable' || 'beta') }} --level ${{ github.event.inputs.bump_level || 'patch' }} --override "${{ github.event.inputs.version_override || '' }}"
150150
151151
- name: Commit and Push
152152
run: |

0 commit comments

Comments
 (0)