From 52fe2d4a01334686ae69c6fae46a67991715b7d4 Mon Sep 17 00:00:00 2001 From: VinPropane Date: Mon, 30 Mar 2026 21:37:04 -0400 Subject: [PATCH 1/2] Run PR gate on main so required-checks list can discover it --- .github/workflows/pr-gate.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-gate.yml b/.github/workflows/pr-gate.yml index c598f36..4bc0eb2 100644 --- a/.github/workflows/pr-gate.yml +++ b/.github/workflows/pr-gate.yml @@ -1,16 +1,14 @@ -# Always runs on PRs so required status checks complete when path-filtered -# workflows (.github/workflows/dotnet.yml, gdscript.yml) are skipped. -# In GitHub: Settings → Rules / Branch protection → require “PR gate / build” -# (or drop a stale required check that never runs on docs-only PRs). +# Path-filtered CI may skip; this always runs. Push includes main so the check +# runs on the default branch — GitHub only lists a workflow under “required status +# checks” after it has completed on the default branch at least once. name: PR gate on: pull_request: branches: [main] - # pull_request does not run on "push branch only" — only after a PR exists (or is synced). push: - branches-ignore: - - main + branches: + - "**" jobs: build: From c3fc59347bbaf5a2e401ad3f99313e20fcf4dd5c Mon Sep 17 00:00:00 2001 From: VinPropane Date: Mon, 30 Mar 2026 21:45:30 -0400 Subject: [PATCH 2/2] Name PR gate job pr-gate for branch-protection search --- .github/workflows/pr-gate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-gate.yml b/.github/workflows/pr-gate.yml index 4bc0eb2..823fd2a 100644 --- a/.github/workflows/pr-gate.yml +++ b/.github/workflows/pr-gate.yml @@ -12,6 +12,8 @@ on: jobs: build: + # Branch-protection search matches job name, not workflow title — keep unique. + name: pr-gate runs-on: ubuntu-latest steps: - uses: actions/checkout@v4