1 parent 27336dc commit 3d983a8Copy full SHA for 3d983a8
1 file changed
.github/workflows/version-bump.yml
@@ -6,6 +6,9 @@ name: Version Bump
6
on:
7
push:
8
branches: [main]
9
+ paths:
10
+ - VERSION_CLI
11
+ - src/cortex-cli/VERSION
12
workflow_dispatch:
13
inputs:
14
action:
@@ -30,6 +33,17 @@ permissions:
30
33
pull-requests: write
31
34
32
35
jobs:
36
+ # Always-green job so skipped tag/PR jobs do not fail the workflow.
37
+ gate:
38
+ name: Workflow started
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - name: Note
42
+ run: |
43
+ echo "event=${{ github.event_name }}"
44
+ echo "ref=${{ github.ref }}"
45
+ echo "Tagging runs only for 'chore: bump version to …' merges or workflow_dispatch."
46
+
47
tag-on-version-bump-merge:
48
name: Tag release on version-bump merge
49
runs-on: ubuntu-latest
0 commit comments