diff --git a/.gitlab/workflows/.gitlab-ci.main.yml b/.gitlab/workflows/.gitlab-ci.main.yml index 5f03320..543d0bf 100644 --- a/.gitlab/workflows/.gitlab-ci.main.yml +++ b/.gitlab/workflows/.gitlab-ci.main.yml @@ -78,10 +78,9 @@ publish: # 🔄 重建 test 分支 reset: stage: reset - needs: [ "publish" ] image: alpine:latest rules: - - if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE !~ /^ci:|^chore:|^\[no-publish\]/' + - if: '$CI_COMMIT_BRANCH == "main"' script: - set -euo pipefail - apk add --no-cache git