Skip to content

fix: run test workflows once per event by scoping push trigger to main#26

Merged
nitrocode merged 1 commit into
mainfrom
copilot/fix-duplicate-workflow-jobs
Apr 22, 2026
Merged

fix: run test workflows once per event by scoping push trigger to main#26
nitrocode merged 1 commit into
mainfrom
copilot/fix-duplicate-workflow-jobs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

On PRs, both push (to the feature branch) and pull_request events fired, running test and test-e2e jobs twice for every commit.

Change

Scoped the push trigger to main only:

on:
  push:
    branches:
      - main
  pull_request:

PR branch commits now trigger only via pull_request; push covers post-merge runs on main.

@nitrocode nitrocode marked this pull request as ready for review April 22, 2026 14:29
@nitrocode nitrocode merged commit 0e11124 into main Apr 22, 2026
3 checks passed
@nitrocode nitrocode deleted the copilot/fix-duplicate-workflow-jobs branch April 22, 2026 14:30
@github-actions
Copy link
Copy Markdown
Contributor

👁️ PR Preview

🚀 Open Preview

Deployed from commit d340c4d · Updates on every push to this PR
(Preview is removed automatically when the PR is closed.)

github-actions Bot added a commit that referenced this pull request Apr 22, 2026
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.

2 participants