From 5215b5e9a725ace444f5576e1b772bbc6978d980 Mon Sep 17 00:00:00 2001 From: Ar Rakin Date: Thu, 13 Oct 2022 19:26:08 +0600 Subject: [PATCH] ci: update auto release workflow --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47581776d..7e21177b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,14 +16,14 @@ jobs: id: changelog uses: TriPSs/conventional-changelog-action@v3.15.0 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.AUTO_RELEASE_TOKEN }} version-file: './package.json,./package-lock.json' - name: Create Release uses: actions/create-release@v1 if: ${{ steps.changelog.outputs.skipped == 'false' }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_TOKEN }} with: tag_name: ${{ steps.changelog.outputs.tag }} release_name: ${{ steps.changelog.outputs.tag }}