fix(ci): keep dev release commits visible to PR checks

This commit is contained in:
Kai (Tam Nhu) Tran
2026-04-28 22:18:45 -04:00
committed by GitHub
parent 4a7076d190
commit fea7f18687
3 changed files with 23 additions and 3 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ concurrency:
jobs:
release:
if: ${{ github.ref == 'refs/heads/dev' && (github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')) }}
# Release commits must still report PR CI when dev is promoted to main.
# Skip recursive dev releases by subject instead of GitHub's global [skip ci].
if: ${{ github.ref == 'refs/heads/dev' && (github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'chore(release): ')) }}
runs-on: ubuntu-latest
permissions: