mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-13 15:46:53 +03:00
Introduced automation to auto-merge @dependabot patches, if they are green
In practice, when @dependabot sends a patch, this workflow will be triggered once the `build` workflow is completed successfully, and applicable patches will be automatically merged.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# See https://github.com/ridedott/merge-me-action/
|
||||
# This workflow automates merges from patches sent by Dependabot, and
|
||||
# only by dependabot, once the other CI workflows pass
|
||||
name: Auto-merge Dependabot PRs
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
types:
|
||||
- completed
|
||||
workflows:
|
||||
- "build"
|
||||
|
||||
jobs:
|
||||
merge-me:
|
||||
name: Auto-merge Dependabot PRs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Auto-Merge
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
uses: ridedott/merge-me-action@v2
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
MERGE_METHOD: MERGE
|
||||
Reference in New Issue
Block a user