Skip to content

Run CI only for pull requests - #25

Merged
clroot merged 1 commit into
mainfrom
ci/pr-only
Nov 9, 2026
Merged

clroot merged 1 commit into
mainfrom
ci/pr-only

Conversation

@clroot

@clroot clroot commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Why

Every change reaches main through a pull request that already passed CI, so the extra run on main only repeats the same checks.

Change

  • Drop the push trigger. CI runs on pull_request and by hand via workflow_dispatch.
  • With no main runs left to protect, a new push to a PR always cancels the outdated run.

@clroot
clroot merged commit 009c3a1 into main Nov 9, 2026
2 of 3 checks passed
@clroot
clroot deleted the ci/pr-only branch November 9, 2026 07:55
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