Problem
`.github/workflows/staging.yml`'s `pull_request` trigger has no `branches:` filter (unlike `ci.yml`, which restricts to `[main]`), so every PR — including trivial doc-only ones targeting any branch — triggers a Vercel staging deploy.
Location
`.github/workflows/staging.yml` (`pull_request` trigger)
Impact
Unnecessary staging deploys run (and consume deploy quota/time) for PRs that don't need one, e.g. documentation-only changes or PRs against non-main branches.
Suggested fix
Add a `branches: [main]` filter matching `ci.yml`'s pattern, and consider a `paths-ignore` filter for docs-only changes.
Problem
`.github/workflows/staging.yml`'s `pull_request` trigger has no `branches:` filter (unlike `ci.yml`, which restricts to `[main]`), so every PR — including trivial doc-only ones targeting any branch — triggers a Vercel staging deploy.
Location
`.github/workflows/staging.yml` (`pull_request` trigger)
Impact
Unnecessary staging deploys run (and consume deploy quota/time) for PRs that don't need one, e.g. documentation-only changes or PRs against non-main branches.
Suggested fix
Add a `branches: [main]` filter matching `ci.yml`'s pattern, and consider a `paths-ignore` filter for docs-only changes.