Skip to content

Commit

Permalink
fix: rename secret key (#298)
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 authored May 21, 2024
1 parent bcb36a9 commit 6a480cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
with:
client_type: java
secrets:
CI_TOKEN: ${{ secrets.CI_TOKEN }}
CI_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/update-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 4 additions & 4 deletions .github/workflows/update-gradle-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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 }} <[email protected]>"
token: ${{ secrets.CI_TOKEN }}
committer: "${{ secrets.CI_USER }} <[email protected]>"
author: "${{ secrets.DISPATCH_USER }} <[email protected]>"
token: ${{ secrets.DISPATCH_TOKEN }}
committer: "${{ secrets.DISPATCH_USER }} <[email protected]>"
signoff: true
delete-branch: true
base: main
Expand Down

0 comments on commit 6a480cb

Please sign in to comment.