From e2201c1fd8f217a0f63262ee37dd9048cedf186a Mon Sep 17 00:00:00 2001 From: James Villarrubia <8172873+jamesvillarrubia@users.noreply.github.com> Date: Fri, 26 Jun 2026 14:05:54 -0400 Subject: [PATCH] chore: sync generated workflow to pipecraft v0.43.1 (#19) Co-authored-by: pipecraft-ci --- .github/workflows/enforce-pr-target.yml | 6 ++++++ .github/workflows/pr-title-check.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/enforce-pr-target.yml b/.github/workflows/enforce-pr-target.yml index 51f5b92..74a6211 100644 --- a/.github/workflows/enforce-pr-target.yml +++ b/.github/workflows/enforce-pr-target.yml @@ -3,6 +3,12 @@ name: Enforce PR Target Branch on: pull_request: types: [opened, edited, synchronize, reopened] + # Only PRs targeting the final branch matter here (the rule rejects human PRs to it). + # Scoping the trigger keeps PipeCraft's own promotion PRs to intermediate branches from + # spawning approval-gated runs at all; the job-level guard below covers promotion PRs + # that do target the final branch. + branches: + - main jobs: check-pr-target: diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index ff39b43..f6dffda 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -7,6 +7,8 @@ on: - edited - synchronize - reopened + branches: + - develop permissions: pull-requests: write