diff --git a/.github/workflows/enforce-pr-target.yml b/.github/workflows/enforce-pr-target.yml index 6bd6e13..51f5b92 100644 --- a/.github/workflows/enforce-pr-target.yml +++ b/.github/workflows/enforce-pr-target.yml @@ -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 diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 4952b1d..ff39b43 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -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