mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-24 00:02:45 +02:00
The pull_request trigger already has paths-ignore (**.md, docs/**, LICENSE, NOTICE), but push to main deliberately has none so tag builds always run and the required check never hangs pending. A docs-only merge to main therefore still ran a full ~15 min Windows build for nothing. Add a lightweight 'changes' job (pure git diff against github.event.before, no third-party action) that mirrors those globs. validate + windows-build now gate on needs.changes.outputs.code == 'true'; the job forces true for tags and for pull_request / workflow_dispatch, so only docs-only branch pushes are skipped. Skipped required checks report green to branch protection.