Skip to content

Commit

Permalink
Create auto-accept-dependabot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
clementdqn authored Apr 14, 2022
1 parent f460103 commit 7126137
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/auto-accept-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-accept-dependabot

on:
pull_request_target:

jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
config: .github/auto-merge.yml
command: "squash and merge"
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}

0 comments on commit 7126137

Please sign in to comment.