Skip to content

Run CI on pull requests - #16

Merged
edalzell merged 1 commit into
mainfrom
chore/ci-on-pull-requests
Nov 3, 2026
Merged

edalzell merged 1 commit into
mainfrom
chore/ci-on-pull-requests

Conversation

@edalzell

@edalzell edalzell commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Tests, PHPStan and the Pint fixer only ran on push. A push to a fork fires workflows in the fork, so a PR from one (such as #14) arrived with no checks at all; only the pull_request-triggered labeler ran.

All three now run on pull_request, and on push only for main, so a same-repo branch with a PR isn't run twice.

The Pint fixer checks out the PR's head repo, and on a fork it runs in test mode and skips the commit step, since GITHUB_TOKEN can't push to a fork. Same-repo PRs keep the auto-commit.

@github-actions github-actions Bot added the chore label Nov 3, 2026
@edalzell
edalzell marked this pull request as ready for review November 3, 2026 16:55
@edalzell
edalzell merged commit 6e4cbc8 into main Nov 3, 2026
10 checks passed
@edalzell
edalzell deleted the chore/ci-on-pull-requests branch November 3, 2026 16:55
@edalzell edalzell mentioned this pull request Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant