Skip to content

Commit

Permalink
Add automerge configuration for dependabot
Browse files Browse the repository at this point in the history
Since we have a very good CI here (100% coverage, 100% mutation
coverage), we can pretty safely allow upgrades if they pass CI.
  • Loading branch information
WouterSioen committed Jul 2, 2021
1 parent cad6d88 commit 367925b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/automerge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Enable automerge on dependabot PRs

on:
# See note below about using pull_request_target
pull_request_target:

jobs:
automerge:
name: 🚀 Enable automerge on dependabot PRs
runs-on: ubuntu-latest
steps:
- name: 🚀 Enable automerge on dependabot PRs
uses: daneden/enable-automerge-action@v1
with:
# A personal access token that you have generated and saved in the
# repo or org’s encrypted secrets
github-token: ${{ secrets.DEPENDABOT_AUTO_MERGE_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 367925b

Please sign in to comment.