We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935be28 commit da9f1e3Copy full SHA for da9f1e3
.github/workflows/ci.yml
@@ -50,8 +50,8 @@ jobs:
50
elif [[ ${{ github.event_name == 'pull_request' }} ]]; then
51
# If the PR is server-sync then extract suffix from branch name
52
sub='maint/update_code_for_'
53
- if [[ "${{ github.ref }}" == *"$sub"* ]]; then
54
- ref_name=${{ github.ref }}
+ if [[ "${{ github.head_ref }}" == *"$sub"* ]]; then
+ ref_name=${{ github.head_ref }}
55
base_ref=${{ github.base_ref }}
56
suffix=${ref_name/$sub[0-9][0-9][0-9]/''}
57
suffix=${suffix/_on_$base_ref/''}
0 commit comments