Commit 859bd4d
committed
ci(canary-release): Add commit check job to skip redundant releases
- Add new `check-commits` job that runs before canary release
- Detect new commits since last canary tag using git rev-list
- Skip workflow execution when no new commits exist on scheduled runs
- Allow PR and manual triggers to bypass commit check and proceed
- Output `has_new_commits` flag for downstream job dependency
- Prevents unnecessary canary releases and reduces build overhead1 parent 200e4fe commit 859bd4d
1 file changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
18 | 59 | | |
| 60 | + | |
| 61 | + | |
19 | 62 | | |
20 | 63 | | |
21 | 64 | | |
| |||
0 commit comments