From 82ef7a9d8512f1116841cc2d8a48825079d4f4e5 Mon Sep 17 00:00:00 2001 From: MengNianxiaoyao <2589141604@qq.com> Date: Wed, 3 Jan 2024 08:12:00 +0800 Subject: [PATCH] fix: changelog --- .github/workflows/changelog.yml | 24 ++++++++++++++++++++++++ .github/workflows/release.yml | 13 ------------- 2 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 00000000..e3f64b57 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,24 @@ +name: ChangeLog + +on: + push: + branches: + - main + - dev + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - uses: GoogleCloudPlatform/release-please-action@v3 + with: + token: ${{ secrets.RELEASE_TOKEN }} + release-type: node + package-name: release-please-action + release-as: 0.14.0 + signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>' + changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afc878f5..a1e9b61f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,6 @@ jobs: build: runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write steps: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2 @@ -44,16 +41,6 @@ jobs: - name: Build Extension run: pnpm pack:zip - - uses: GoogleCloudPlatform/release-please-action@v3 - id: release - with: - token: ${{ secrets.RELEASE_TOKEN }} - release-type: node - package-name: release-please-action - release-as: 0.13.0 - signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>' - changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]' - - name: Upload assets to a Release uses: meeDamian/github-release@v2.0.3 with: