Skip to content

Build but do not deploy on pull requests. - #34

Merged
karepker merged 1 commit into
mainfrom
gate-pr-deploys
Aug 31, 2026
Merged

Build but do not deploy on pull requests.#34
karepker merged 1 commit into
mainfrom
gate-pr-deploys

Conversation

@karepker

Copy link
Copy Markdown
Contributor

The workflow's bare pull_request: trigger ran the whole job, including actions/deploy-pages, so opening a PR published that branch to production before anyone reviewed it. Gate the deploy step on the event name; PRs still build, so a broken build still fails the check.

Claude-Session: https://claude.ai/code/session_013VoExRdWR65QGg7v6qMqAV

The workflow's bare `pull_request:` trigger ran the whole job, including
actions/deploy-pages, so opening a PR published that branch to production
before anyone reviewed it. Gate the deploy step on the event name; PRs
still build, so a broken build still fails the check.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VoExRdWR65QGg7v6qMqAV
@karepker
karepker merged commit a535e19 into main Aug 31, 2026
2 checks passed
@karepker
karepker deleted the gate-pr-deploys branch August 31, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant