Skip to content

CI: only run on PRs, not on push to main#38

Draft
Ian-stetsenko wants to merge 1 commit into
mainfrom
ci/pr-only-trigger
Draft

CI: only run on PRs, not on push to main#38
Ian-stetsenko wants to merge 1 commit into
mainfrom
ci/pr-only-trigger

Conversation

@Ian-stetsenko

Copy link
Copy Markdown
Owner

Summary

  • Remove push: branches: [main] trigger from CI workflow
  • CI was running twice on every merge — once on the PR, once on the merge commit
  • Branch protection ensures all changes go through PRs, so the push trigger is redundant

Test plan

  • CI runs on this PR
  • After merge, no CI run triggers on the merge commit

🤖 Generated with Claude Code

CI already runs on PRs — the push trigger caused redundant runs
on every merge. Branch protection ensures all changes go through PRs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Ian-stetsenko Ian-stetsenko marked this pull request as draft April 30, 2026 03:53
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