Files
truecharts/.github/workflows/automerge.yaml
T
Kjeld Schouten accd12e33c Update automerge.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-10-18 16:17:48 +02:00

32 lines
812 B
YAML

name: Automerge and Approve
on:
workflow_run:
workflows: ["Pull Request: Validate"] # Name of the main CI workflow
types:
- completed
jobs:
approve:
runs-on: ubuntu-latest
steps:
- name: Approve PR
uses: hmarr/auto-approve-action@v3
if: ${{
contains(github.event.pull_request.title, 'by renovate') ||
contains(github.event.pull_request.title, '.all-contributorsrc')
}}
with:
github-token: "${{ secrets.OR_PAT }}"
automerge:
runs-on: ubuntu-latest
steps:
- name: Automerge
uses: pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67 # v0.16.4
env:
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
UPDATE_RETRIES: 24
UPDATE_RETRY_SLEEP: 60000