Skip to content

Commit da9f1e3

Browse files
authored
Fix Server suffix selection (#1324)
1 parent 935be28 commit da9f1e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
elif [[ ${{ github.event_name == 'pull_request' }} ]]; then
5151
# If the PR is server-sync then extract suffix from branch name
5252
sub='maint/update_code_for_'
53-
if [[ "${{ github.ref }}" == *"$sub"* ]]; then
54-
ref_name=${{ github.ref }}
53+
if [[ "${{ github.head_ref }}" == *"$sub"* ]]; then
54+
ref_name=${{ github.head_ref }}
5555
base_ref=${{ github.base_ref }}
5656
suffix=${ref_name/$sub[0-9][0-9][0-9]/''}
5757
suffix=${suffix/_on_$base_ref/''}

0 commit comments

Comments
 (0)