From 93d10cc6c8cc98b29f4cd90c747c591cc9dc395b Mon Sep 17 00:00:00 2001 From: GalvinGao Date: Thu, 23 Nov 2023 03:41:43 -0800 Subject: [PATCH] build: add set -e --- .github/workflows/pr-auto-upsert.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-auto-upsert.yml b/.github/workflows/pr-auto-upsert.yml index ad7290b9..cff70eb8 100644 --- a/.github/workflows/pr-auto-upsert.yml +++ b/.github/workflows/pr-auto-upsert.yml @@ -27,6 +27,8 @@ jobs: name: Get summary from GPT continue-on-error: true run: | + set -e + # get all commit messages from last release tag to HEAD git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:%s > /tmp/commit_messages.txt