Skip to content

Bump actions/create-github-app-token from 1.9.0 to 1.10.0 #808

Bump actions/create-github-app-token from 1.9.0 to 1.10.0

Bump actions/create-github-app-token from 1.9.0 to 1.10.0 #808

name: Dependabot auto-merge
on: pull_request_target
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1.10.0
with:
app-id: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_APP_ID }}
private-key: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_PRIVATE_KEY }}
- name: Check out code
uses: actions/checkout@v4
- name: Auto-merge
run: gh pr merge --auto --merge '${{ github.event.pull_request.html_url }}'
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}