From c40b1e84735bddb1a75018935d23a2093d41ed8d Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Fri, 27 Sep 2024 17:33:36 +0800 Subject: [PATCH] ci: configure workflows --- .github/workflows/cd.yml | 7 +++++-- .releaserc | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2f6606e..a0dcb41 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,7 +11,7 @@ jobs: linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: lts/* @@ -27,7 +27,10 @@ jobs: needs: linter runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + # https://github.com/semantic-release/semantic-release/issues/2636 + with: + persist-credentials: false - uses: actions/setup-node@v2 with: node-version: lts/* diff --git a/.releaserc b/.releaserc index ef38516..f80b046 100644 --- a/.releaserc +++ b/.releaserc @@ -18,6 +18,9 @@ { "path": ".output/web-chat-{{nextRelease.version}}-chrome.zip" } + ], + "labels": [ + "release" ] }, "@semantic-release/git"