Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Merge

Merge #5269

Workflow file for this run

name: Merge
on:
workflow_dispatch:
schedule:
- cron: "*/15 3,4 * * *"
jobs:
merge:
name: Merge
runs-on: ubuntu-latest
steps:
- name: Merge
run: |
number=$(GITHUB_TOKEN="${{ secrets.TU_TOKEN }}" gh pr list --repo ${{ github.repository }} --limit 1 --author app/renovate --json number --jq '.[0].number')
[[ -n "${number}" ]] && GITHUB_TOKEN="${{ secrets.TU_TOKEN }}" gh pr merge --repo ${{ github.repository }} --auto --squash "${number}" || exit 0