Skip to content

devops: staging deploy workflow triggers on every PR to any branch with no filter #306

Description

@Austinaminu2

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.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programdevopsCI/CD and infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions