Skip to content

Commit f66cdb3

Browse files
committed
Account for differences in branch names.
1 parent 974ef75 commit f66cdb3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/reusable-compare-built-files-v1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8383
with:
8484
repository: 'WordPress/WordPress'
85+
ref: ${{ github.base_ref == 'trunk' && 'master' || format( '{0}-branch', github.base_ref ) }}
8586
path: ${{ github.workspace }}/build-server
8687
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
8788
persist-credentials: false

0 commit comments

Comments
 (0)