Skip to content

Commit

Permalink
(feat) add dependabot automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
ictbeheer committed Nov 5, 2024
0 parents commit 205fbcb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Dependabot automerge
on:
- workflow_call

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr comment "$PR_URL" --body "@dependabot merge"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.YARD_BOT_PAT}}

0 comments on commit 205fbcb

Please sign in to comment.