Skip to content

Commit

Permalink
Add auto-merge GitHub workflow (#209)
Browse files Browse the repository at this point in the history
We currently have to maintain Dependabot updates across 11 repos for the Water Abstraction Service.

All we do when checking a Dependabot update is confirm it hasn't broken CI. We then approve and merge.

We are not really adding any value to the process. So, to reduce the maintenance load on the team we have agreed that any Depedabot update that passes our CI build can be automatically merged.

This adds [Dependabot Auto Merge](https://github.com/marketplace/actions/dependabot-auto-merge) to the repo which is a GitHub action that should handle this for us.
  • Loading branch information
Cruikshanks authored May 4, 2023
1 parent 2286cd9 commit dcf97ef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.AUTO_MERGE }}

0 comments on commit dcf97ef

Please sign in to comment.