feat(clustertool): add auto-merge PR workflow

This commit is contained in:
Kjeld Schouten
2024-10-26 12:04:41 +02:00
parent bc5161b4a0
commit 90bed57f1c
@@ -0,0 +1,22 @@
name: Automerge and Approve
on:
workflow_run:
workflows: ["Pull Request: Validate"] # Name of the main CI workflow
types:
- completed
jobs:
automerge:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.16.4"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
UPDATE_RETRIES: 24
UPDATE_RETRY_SLEEP: 60000