From 1cd5f173dc7ac07085f46f25ab90be6dad01d587 Mon Sep 17 00:00:00 2001 From: NicoKam <331677620@qq.com> Date: Fri, 3 May 2024 17:30:58 +0800 Subject: [PATCH] chore: update workflow --- .github/workflows/changesets-auto-pre-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changesets-auto-pre-publish.yml b/.github/workflows/changesets-auto-pre-publish.yml index 9f5a100..fbb06cd 100644 --- a/.github/workflows/changesets-auto-pre-publish.yml +++ b/.github/workflows/changesets-auto-pre-publish.yml @@ -8,6 +8,9 @@ on: types: [ opened, reopened, synchronize ] branches: - master +concurrency: + group: changesets-auto-pre-publish-${{ github.event.pull_request.number }} + cancel-in-progress: true jobs: pre-publish: @@ -24,8 +27,8 @@ jobs: run: | npm i pnpm -g pnpm i --no-frozen-lockfile - - name: Get current timestamp - run: echo "timestamp=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV +# - name: Get current timestamp +# run: echo "timestamp=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV - name: Pre Publish id: changesets run: |