Skip to content

Commit 1de1007

Browse files
authored
Merge pull request #1598 from vim-jp/use-vim-jp-bot-app-when-running-depup
Use vim-jp bot app when running depup
2 parents 4eae6c0 + 76fbd4b commit 1de1007

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/depup.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@ jobs:
2323
version_name: REVIEWDOG_VERSION
2424
repo: reviewdog/reviewdog
2525

26+
- uses: actions/create-github-app-token@v1
27+
id: app-token
28+
with:
29+
app-id: ${{ vars.VIM_JP_BOT_APP_ID }}
30+
private-key: ${{ secrets.VIM_JP_BOT_PRIVATE_KEY }}
31+
2632
- name: Create Pull Request
2733
uses: peter-evans/create-pull-request@v6
2834
with:
29-
token: ${{ secrets.GITHUB_TOKEN }}
35+
token: ${{ steps.app-token.outputs.token }}
3036
author: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>'
3137
title: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
3238
commit-message: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"

0 commit comments

Comments
 (0)