Skip to content

ci: only trigger on pull_request, remove push trigger to avoid duplicate runs#1323

Merged
lewis617 merged 2 commits into
mainfrom
worktree-deep-loud-island
Jul 2, 2026
Merged

ci: only trigger on pull_request, remove push trigger to avoid duplicate runs#1323
lewis617 merged 2 commits into
mainfrom
worktree-deep-loud-island

Conversation

@lewis617

@lewis617 lewis617 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove the push trigger from CI workflow, keeping only pull_request and workflow_dispatch.

Rationale

Since this repo does not support direct push to main (all changes go through PRs), the push trigger was redundant — it caused CI to run again after every PR merge. Now CI only runs on PRs, eliminating the duplicate run.

The workflow_dispatch trigger is retained for manual runs when needed.

Changes

  • Removed push trigger from on: block
  • Moved paths-ignore to pull_request trigger
  • Kept concurrency block (still useful for cancelling stale runs on the same PR branch)

@lewis617 lewis617 merged commit d061999 into main Jul 2, 2026
1 check passed
@lewis617 lewis617 deleted the worktree-deep-loud-island branch July 2, 2026 08:27
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