23 lines
621 B
YAML
23 lines
621 B
YAML
# 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).
|
|
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
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Gate
|
|
run: "true"
|