Skip to content

Bump alpine from 3.21.2 to 3.21.3 #118

Bump alpine from 3.21.2 to 3.21.3

Bump alpine from 3.21.2 to 3.21.3 #118

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@67e27a7eb7db372a1c61a7f9bdab8699e9ee57f7 # v1.11.3
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 }}