Skip to content

Release Automerge

Release Automerge #34

---
name: Release Automerge
on:
schedule:
- cron: 0 18 * * 0
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
merge-latest-release:
runs-on: ubuntu-latest
steps:
- name: Find Pull Request
uses: juliangruber/[email protected]
id: find-pull-request
with:
branch: release-please--branches--main--components--cfn-teleport
- name: Merge Pull Request
uses: juliangruber/[email protected]
with:
github-token: ${{ secrets.OVERRIDE_TOKEN }}
number: ${{ steps.find-pull-request.outputs.number }}
method: squash
if: ${{ steps.find-pull-request.outputs.number != '' }}