diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index f17bc15..16fbe96 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -37,7 +37,7 @@ jobs: run: | # 检查最近一次提交信息是否包含跳过关键词 LAST_COMMIT_MSG=$(git log -1 --pretty=format:"%B") - if [[ "$LAST_COMMIT_MSG" == *"[skip release]"* ]] || [[ "$LAST_COMMIT_MSG" == *"[no tag]"* ]]; then + if [[ "$LAST_COMMIT_MSG" == *"[skip release]"* ]] || [[ "$LAST_COMMIT_MSG" == *"[no tag]"* ] || [[ "$LAST_COMMIT_MSG" == *"[skip]"* ]]]; then echo "skip_tag=true" >> $GITHUB_OUTPUT echo "Skipping tag creation due to skip keyword in commit message" else diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b32b86..6743ff7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -131,7 +131,7 @@ jobs: # 发布包含描述信息和版本详情 - name: Create GitHub Release id: create_release - uses: actions/create-release@v1 + uses: actions/create-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: