feat: add dependabot-auto-merge.yml
CI / lint + typecheck + test + build (push) Canceled after 0s

This commit is contained in:
asepharyana
2026-09-20 03:01:21 +07:00
parent c5b96779aa
commit 582d1901f6
+17
View File
@@ -0,0 +1,17 @@
name: Dependabot Auto-Merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PR
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}