ci: only run release commit check on canary releases (#59423)
We don't want to perform this check for stable releases since those are never initiated by the cron task, as otherwise it would fail when going from canary -> stable as no commits would land in-between. Closes NEXT-1836
This commit is contained in:
parent
6d82b0698b
commit
4dd8c0bb04
1 changed files with 1 additions and 0 deletions
1
.github/workflows/trigger_release.yml
vendored
1
.github/workflows/trigger_release.yml
vendored
|
@ -58,6 +58,7 @@ jobs:
|
|||
run: echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
||||
|
||||
- name: Check if new commits since last tag
|
||||
if: ${{ github.event.inputs.releaseType != 'stable' }}
|
||||
run: |
|
||||
if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then
|
||||
echo "No new commits. Exiting..."
|
||||
|
|
Loading…
Reference in a new issue