File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ jobs:
356
356
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
357
357
# We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
358
358
# specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually.
359
- if : ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/ main' }}
359
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.base. ref != 'main' }}
360
360
env :
361
361
PR_NUMBER : ${{ github.event.pull_request.number }}
362
362
shell : bash
@@ -440,7 +440,7 @@ jobs:
440
440
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
441
441
# We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
442
442
# specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually.
443
- if : ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/ main' }}
443
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.base. ref != 'main' }}
444
444
env :
445
445
PR_NUMBER : ${{ github.event.pull_request.number }}
446
446
shell : bash
You can’t perform that action at this time.
0 commit comments