Skip to content

Bump docker/build-push-action from 6.14.0 to 6.15.0 #125

Bump docker/build-push-action from 6.14.0 to 6.15.0

Bump docker/build-push-action from 6.14.0 to 6.15.0 #125

name: Auto-merge Dependabot PR
on:
pull_request:
branches: [master]
permissions:
contents: read
pull-requests: read
jobs:
dependabot-pr:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
# if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
with:
app-id: ${{ secrets.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- name: Dependabot metadata
id: dependabot_metadata
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Authenticate cli
run: echo "${{ steps.generate_token.outputs.token }}" | gh auth login --with-token
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --merge --auto "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}