Skip to content

Shared app service

Shared app service #18

---
name: Renovate automerge
# yamllint disable-line rule:truthy
on:
pull_request_target: {}
permissions:
pull-requests: write
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
renovate-automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'renovate[bot]' || github.actor == 'renovate-bot' }}
steps:
- name: Enable auto-merge for Renovate PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}