Skip to content

ci: Fix duplicate CI workflow runs on pull requests#328

Merged
hrj merged 1 commit intomasterfrom
fix/ci-duplicate-runs-18274624062406751999
Apr 3, 2026
Merged

ci: Fix duplicate CI workflow runs on pull requests#328
hrj merged 1 commit intomasterfrom
fix/ci-duplicate-runs-18274624062406751999

Conversation

@hrj
Copy link
Copy Markdown
Contributor

@hrj hrj commented Apr 3, 2026

Fixes the issue where every commit triggers the CI workflow twice.

By restricting the push event trigger in .github/workflows/ci.yml to the master branch only, PR branches will now only trigger the pull_request event and avoid triggering a duplicate run for the push event.


PR created automatically by Jules for task 18274624062406751999 started by @hrj

This updates `.github/workflows/ci.yml` so that the `push` event only triggers for the `master` branch. This avoids running the workflow twice (once for `push`, once for `pull_request`) when commits are pushed to open pull requests.

Co-authored-by: hrj <345879+hrj@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@hrj hrj merged commit e36f7b2 into master Apr 3, 2026
2 checks passed
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