This repository was archived by the owner on Jun 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ jobs:
356356 # For PRs to be merged against a release branch, use the version that has already been set in the calling script.
357357 # We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
358358 # 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' }}
360360 env :
361361 PR_NUMBER : ${{ github.event.pull_request.number }}
362362 shell : bash
@@ -440,7 +440,7 @@ jobs:
440440 # For PRs to be merged against a release branch, use the version that has already been set in the calling script.
441441 # We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
442442 # 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' }}
444444 env :
445445 PR_NUMBER : ${{ github.event.pull_request.number }}
446446 shell : bash
You can’t perform that action at this time.
0 commit comments