Skip to content

Commit

Permalink
Use vim-jp bot app when running depup
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Aug 6, 2024
1 parent 94000b7 commit e53199b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/depup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ jobs:
version_name: REVIEWDOG_VERSION
repo: reviewdog/reviewdog

- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.VIM_JP_BOT_APP_ID }}
private-key: ${{ secrets.VIM_JP_BOT_PRIVATE_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
author: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>'
title: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
commit-message: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
Expand Down

0 comments on commit e53199b

Please sign in to comment.