From cba9b93fb2c03e832b40de08140c1cedca6366b3 Mon Sep 17 00:00:00 2001 From: go-to-k <24818752+go-to-k@users.noreply.github.com> Date: Thu, 22 Aug 2024 21:50:51 +0900 Subject: [PATCH] ci: change token for tagpr --- .github/workflows/tagpr.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tagpr.yaml b/.github/workflows/tagpr.yaml index 6e6dceef..05e149b2 100644 --- a/.github/workflows/tagpr.yaml +++ b/.github/workflows/tagpr.yaml @@ -2,7 +2,7 @@ name: tagpr on: push: branches: - - "main" + - 'main' jobs: tagpr: runs-on: ubuntu-latest @@ -11,13 +11,14 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.TAGPR_GITHUB_TOKEN }} - name: tagpr id: tagpr uses: Songmu/tagpr@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.TAGPR_GITHUB_TOKEN }} - uses: ./.github/actions/release with: github-token: ${{ secrets.GITHUB_TOKEN }} homebrew-tap-github-token: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} - if: "steps.tagpr.outputs.tag != ''" \ No newline at end of file + if: steps.tagpr.outputs.tag != ''