From 4dd8c0bb042672f137950c38c60c651431cc8f66 Mon Sep 17 00:00:00 2001 From: Zack Tanner Date: Fri, 8 Dec 2023 13:46:26 -0800 Subject: [PATCH] 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 --- .github/workflows/trigger_release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index 286b896da6..38afca8b6c 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -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..."