From 6a480cb5e84a1b168959d6aa09339fbd5f00c0dd Mon Sep 17 00:00:00 2001 From: Hiroto Funakoshi Date: Tue, 21 May 2024 16:19:37 +0900 Subject: [PATCH] fix: rename secret key (#298) Signed-off-by: hlts2 --- .github/workflows/pr-auto-merge.yaml | 2 +- .github/workflows/sync.yaml | 4 ++-- .github/workflows/update-deps.yaml | 4 ++-- .github/workflows/update-gradle-wrapper.yaml | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr-auto-merge.yaml b/.github/workflows/pr-auto-merge.yaml index a29e0186..16b53ac9 100644 --- a/.github/workflows/pr-auto-merge.yaml +++ b/.github/workflows/pr-auto-merge.yaml @@ -23,4 +23,4 @@ jobs: with: client_type: java secrets: - CI_TOKEN: ${{ secrets.CI_TOKEN }} + CI_TOKEN: ${{ secrets.DISPATCH_TOKEN }} diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index a34b0779..37d2ffb9 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -25,6 +25,6 @@ jobs: with: client_type: java secrets: - CI_USER: ${{ secrets.CI_USER }} - CI_TOKEN: ${{ secrets.CI_TOKEN }} + CI_USER: ${{ secrets.DISPATCH_USER }} + CI_TOKEN: ${{ secrets.DISPATCH_TOKEN }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/.github/workflows/update-deps.yaml b/.github/workflows/update-deps.yaml index 0bb5fda1..5223bd74 100644 --- a/.github/workflows/update-deps.yaml +++ b/.github/workflows/update-deps.yaml @@ -25,6 +25,6 @@ jobs: with: config_file_path: .github/dependabot-cli.yaml secrets: - CI_USER: ${{ secrets.CI_USER }} - CI_TOKEN: ${{ secrets.CI_TOKEN }} + CI_USER: ${{ secrets.DISPATCH_USER }} + CI_TOKEN: ${{ secrets.DISPATCH_TOKEN }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/.github/workflows/update-gradle-wrapper.yaml b/.github/workflows/update-gradle-wrapper.yaml index 4f0aa363..378d0bbc 100644 --- a/.github/workflows/update-gradle-wrapper.yaml +++ b/.github/workflows/update-gradle-wrapper.yaml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.CI_TOKEN }} + token: ${{ secrets.DISPATCH_TOKEN }} - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} @@ -79,9 +79,9 @@ jobs: if: ${{ steps.check_diff.outputs.HAS_GIT_DIFF == 'true' }} uses: peter-evans/create-pull-request@v6 with: - author: "${{ secrets.CI_USER }} " - token: ${{ secrets.CI_TOKEN }} - committer: "${{ secrets.CI_USER }} " + author: "${{ secrets.DISPATCH_USER }} " + token: ${{ secrets.DISPATCH_TOKEN }} + committer: "${{ secrets.DISPATCH_USER }} " signoff: true delete-branch: true base: main