Skip to content

Run GitHub Actions workflows only once#547

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

Run GitHub Actions workflows only once#547
duncanmcclean merged 1 commit into5.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 3a96c72 into 5.x Feb 19, 2026
@ryanmitchell ryanmitchell deleted the run-workflows-once branch February 23, 2026 08:39
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