diff --git a/.github/workflows/crap.yml b/.github/workflows/crap.yml index 1109b1ca..242b3bf0 100644 --- a/.github/workflows/crap.yml +++ b/.github/workflows/crap.yml @@ -12,9 +12,10 @@ name: "CRAP" # branch-protection settings. To soften it back to report-only, drop the # "Enforce CRAP threshold" step — the sticky comment keeps working either way. on: + # No branch filter: a stacked PR (a feature branch as base) must run this + # gate too. With `branches: [main]` here, retargeting a PR onto its + # parent branch silently switched every Rust gate off; see go.yml. pull_request: - branches: - - main paths: - "packages/**" - "Cargo.toml" diff --git a/.github/workflows/miri.yml b/.github/workflows/miri.yml index 80584a52..9c8f5d91 100644 --- a/.github/workflows/miri.yml +++ b/.github/workflows/miri.yml @@ -15,9 +15,10 @@ name: "Miri" # and `protected` is where the only unsafe lives. Expand the matrix if other # crates grow pure-Rust `unsafe`. on: + # No branch filter: a stacked PR (a feature branch as base) must run this + # gate too. With `branches: [main]` here, retargeting a PR onto its + # parent branch silently switched every Rust gate off; see go.yml. pull_request: - branches: - - main paths: - "packages/protected/**" - ".github/workflows/miri.yml" diff --git a/.github/workflows/mutants.yml b/.github/workflows/mutants.yml index 62936cb5..498165ca 100644 --- a/.github/workflows/mutants.yml +++ b/.github/workflows/mutants.yml @@ -17,9 +17,10 @@ name: "Mutants" # step; the sticky comment keeps working either way. To block merges, mark this # check ("🧬 Mutants gate") as required in the repo's branch-protection settings. on: + # No branch filter: a stacked PR (a feature branch as base) must run this + # gate too. With `branches: [main]` here, retargeting a PR onto its + # parent branch silently switched every Rust gate off; see go.yml. pull_request: - branches: - - main paths: - "packages/**" - "Cargo.toml" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa7e5618..5b043d44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,9 +3,10 @@ on: push: branches: - main + # No branch filter: a stacked PR (a feature branch as base) must run this + # gate too. With `branches: [main]` here, retargeting a PR onto its + # parent branch silently switched every Rust gate off; see go.yml. pull_request: - branches: - - main workflow_dispatch: defaults: