Merge pull request #14 from ViPro-Technologies/ci/pr-gate-workflow

Ci/pr gate workflow
pull/16/head
VinPropane 2026-03-30 21:46:19 -04:00 committed by GitHub
commit 6c3d8b164f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -1,19 +1,19 @@
# 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:
# Branch-protection search matches job name, not workflow title — keep unique.
name: pr-gate
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4