Skip to content

CI: only run push workflow on main (#124)#138

Merged
dstebila merged 1 commit into
mainfrom
ci-fix-duplicate-runs
May 14, 2026
Merged

CI: only run push workflow on main (#124)#138
dstebila merged 1 commit into
mainfrom
ci-fix-duplicate-runs

Conversation

@dstebila
Copy link
Copy Markdown
Member

@dstebila dstebila commented May 13, 2026

Summary

  • Both push and pull_request triggered on "**", so PRs from same-repo branches ran every workflow twice.
  • Restrict push to main; pull_request still covers PRs from any branch.

Closes #124.

Test plan

  • Verify this PR itself runs each workflow only once.
  • After merge, confirm push to main still triggers workflows.

🤖 Generated with Claude Code

Both push and pull_request triggered on "**", so PRs from same-repo
branches ran every workflow twice. Restrict push to main; pull_request
still covers PRs from any branch.

Closes #124

Signed-off-by: Douglas Stebila <dstebila@uwaterloo.ca>
Co-authored-by: Ry Jones <ry@linux.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dstebila dstebila self-assigned this May 13, 2026
@dstebila dstebila added this to the 0.16.0 milestone May 13, 2026
@dstebila dstebila merged commit e496b7d into main May 14, 2026
8 checks passed
@ryjones ryjones deleted the ci-fix-duplicate-runs branch May 14, 2026 13:32
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.

GitHub actions run twice on PRs

1 participant