Skip to content

[DDO-3641] Dependabot and review automation #4

[DDO-3641] Dependabot and review automation

[DDO-3641] Dependabot and review automation #4

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