ci: Automatically merge bot PRs for Elastic updates

Merges pull requests from docker-elk-updater[bot] if CI checks pass.
This commit is contained in:
Antoine Cotten 2021-11-09 01:36:45 +01:00
parent 6f8117e2d8
commit 9a523626ef
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 24 additions and 0 deletions

24
.github/workflows/update-merge.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Merge Elastic updates
on:
workflow_run:
workflows: [ CI ]
types:
- completed
branches:
- update/main
- update/release-6.x
jobs:
merge:
name: Merge pull request
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Approve and merge
uses: ridedott/merge-me-action@v2
with:
GITHUB_LOGIN: docker-elk-updater
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}