From e778ca29c015f4aa10a277a188bc56f0b9815537 Mon Sep 17 00:00:00 2001 From: Yongwoo Lee Date: Tue, 13 Jul 2021 14:26:29 +0900 Subject: [PATCH] chore: replace to github app token for actions --- .github/workflows/lint.yml | 2 +- .github/workflows/release-sims.yml | 2 +- .github/workflows/sims.yml | 2 +- .github/workflows/stale.yml | 2 +- .github/workflows/tag.yml | 2 +- .github/workflows/test.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d11ccc8fd2..f6ad6ee4d9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,5 +31,5 @@ jobs: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.28 args: --timeout 10m - github-token: ${{ secrets.github_token }} + github-token: ${{ secrets.GITHUB_TOKEN }} if: env.GIT_DIFF diff --git a/.github/workflows/release-sims.yml b/.github/workflows/release-sims.yml index d1b99b3571..bde140071d 100644 --- a/.github/workflows/release-sims.yml +++ b/.github/workflows/release-sims.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: rokroskar/workflow-run-cleanup-action@master env: - GITHUB_TOKEN: "${{ secrets.TOKEN }}" + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'" build: diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index e61eb225f6..4ed4ca4df8 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: rokroskar/workflow-run-cleanup-action@master env: - GITHUB_TOKEN: "${{ secrets.TOKEN }}" + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" build: runs-on: ubuntu-latest diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e4eb648e0d..79b54186ee 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/stale@v3 with: - repo-token: ${{ secrets.TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions." diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index a29dfef49f..7e1068f303 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -23,4 +23,4 @@ jobs: with: args: release --rm-dist --release-notes ./RELEASE_CHANGELOG.md env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 492b0e333f..d7c370872f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: rokroskar/workflow-run-cleanup-action@master env: - GITHUB_TOKEN: "${{ secrets.TOKEN }}" + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/develop'" install-tparse: