chore(deps): update actions/create-github-app-token action to v1.11.1 #358
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Auto Merge" | |
on: | |
pull_request: ~ | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
tatsutakeinjp-bot: | |
runs-on: ubuntu-24.04 | |
if: github.actor == 'tatsutakeinjp-bot[bot]' | |
steps: | |
# https://github.com/marketplace/actions/create-github-app-token | |
- name: Create GitHub App Token | |
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1 | |
id: app-token | |
with: | |
app-id: ${{ vars.BOT_APP_ID }} | |
private-key: ${{ secrets.BOT_PRIVATE_KEY }} | |
- name: Enable auto-merge for Dependabot PRs | |
run: | | |
gh pr merge --auto --merge "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GH_TOKEN: ${{ steps.app-token.outputs.token }} |