Skip to content

Commit

Permalink
ci: only run release commit check on canary releases (#59423)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ztanner authored Dec 8, 2023
1 parent 6d82b06 commit 4dd8c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 4dd8c0b

Please sign in to comment.