Skip to content

Run GitHub Actions workflows only once#126

Merged
duncanmcclean merged 1 commit into2.xfrom
run-workflows-once
Feb 19, 2026
Merged

Run GitHub Actions workflows only once#126
duncanmcclean merged 1 commit into2.xfrom
run-workflows-once

Conversation

@duncanmcclean
Copy link
Member

When creating a pull request from a branch within the same repo (not a fork), the testing workflow is triggered twice - once for push and once for pull_request.

This PR adds constraints to ensure the workflow only runs once.

@duncanmcclean duncanmcclean merged commit 6827bfc into 2.x Feb 19, 2026
4 checks passed
@duncanmcclean duncanmcclean deleted the run-workflows-once branch February 19, 2026 16:44
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