Skip to content

Bump actions/checkout from 4.1.2 to 4.1.3 #1

Bump actions/checkout from 4.1.2 to 4.1.3

Bump actions/checkout from 4.1.2 to 4.1.3 #1

Workflow file for this run

name: "Auto-Merge Dependabot PRs"
on:
pull_request:
branches:
- "main"
permissions:
contents: write
pull-requests: write
jobs:
automerge:
name: "Auto-approve PR"
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' || github.actor == 'ylabonte'
steps:
- name: "Approve PR to enable auto-merge"
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Auto-merge PR"
run: gh pr merge --merge --auto "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}