Skip to content

Commit da61a89

Browse files
committed
Build/Test Tools: Add branch filtering to upgrade test workflow.
The upgrade testing workflow is only meant to run from `trunk`. When a pull request as any other BASE branch, the workflow should not run. See #63170. git-svn-id: https://develop.svn.wordpress.org/trunk@60767 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 2e8d730 commit da61a89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/upgrade-testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- '.github/workflows/upgrade-testing.yml'
1313
- '.github/workflows/reusable-upgrade-testing.yml'
1414
pull_request:
15+
# This workflow is only meant to run from trunk. Pull requests changing this file with different BASE branches should be ignored.
16+
branches:
17+
- trunk
1518
# Always test the workflow when changes are suggested.
1619
paths:
1720
- '.github/workflows/upgrade-testing.yml'

0 commit comments

Comments
 (0)