Skip to content

Commit

Permalink
ci: automatically merge Dependabot PRs (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander authored Apr 8, 2024
1 parent ae572b1 commit c0a3b64
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Merge dependency updates

on:
workflow_run:
types:
- completed
workflows:
- 'Docker build'
- 'Lint files'

jobs:
merge-dependency-updates:
name: Merge dependency updates
runs-on: ubuntu-latest
steps:
- name: Merge dependency updates
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2
with:
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.AUTO_MERGE_PR_TOKEN }}
PRESET: DEPENDABOT_MINOR

0 comments on commit c0a3b64

Please sign in to comment.