fix: prevent duplicate CI runs on pull request pushes #490

Merged
guettlibot merged 1 commits from refs/pull/490/head into main 2026-06-06 19:43:47 +00:00
1 Commits
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 818875a003 fix: prevent duplicate CI runs on pull request pushes
Scope the push trigger to the main branch only. Previously `on: [push,
pull_request]` fired two runs for every commit pushed to a feature
branch with an open PR — one for the push event and one for the
pull_request event. With this change, feature-branch commits trigger
only via pull_request; direct pushes to main (merge commits) trigger
via push.

Closes #483

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 17:35:25 +02:00