Skip to content

chore: bump actions/checkout from 3 to 4 #3

chore: bump actions/checkout from 3 to 4

chore: bump actions/checkout from 3 to 4 #3

name: Dependabot GitHub Actions Auto Merge
on:
pull_request:
paths:
- '.github/workflows/**'
branches: [ main ]
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
- name: Enable auto-merge for Dependabot PRs
if: ${{steps.dependabot-metadata.outputs.package-ecosystem == 'github_actions'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}