Run PR gate on main so required-checks list can discover it
parent
0ac3fb07e9
commit
52fe2d4a01
|
|
@ -1,16 +1,14 @@
|
||||||
# Always runs on PRs so required status checks complete when path-filtered
|
# Path-filtered CI may skip; this always runs. Push includes main so the check
|
||||||
# workflows (.github/workflows/dotnet.yml, gdscript.yml) are skipped.
|
# runs on the default branch — GitHub only lists a workflow under “required status
|
||||||
# In GitHub: Settings → Rules / Branch protection → require “PR gate / build”
|
# checks” after it has completed on the default branch at least once.
|
||||||
# (or drop a stale required check that never runs on docs-only PRs).
|
|
||||||
name: PR gate
|
name: PR gate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
# pull_request does not run on "push branch only" — only after a PR exists (or is synced).
|
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
branches:
|
||||||
- main
|
- "**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue