Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/enforce-pr-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

jobs:
check-pr-target:
# Skip PipeCraft's own promotion PRs (pipecraft-promote/*). They legitimately target
# downstream/final branches as part of the flow; this guard is for human-authored PRs.
if: ${{ !startsWith(github.head_ref, 'pipecraft-promote/') }}
runs-on: ubuntu-latest
steps:
- name: Check PR base branch
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ permissions:
jobs:
main:
name: Validate PR title
# Skip PipeCraft's own promotion PRs (pipecraft-promote/*): their titles are release
# messages ("🚀 Release X to Y"), not conventional commits, so the check shouldn't gate them.
if: ${{ !startsWith(github.head_ref, 'pipecraft-promote/') }}
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
Expand Down
Loading