Skip to content

Singleton Lv.99

Singleton Lv.99 #194

name: Enable auto merge
on:
pull_request:
types:
- opened
- reopened
- ready_for_review
branches:
- main
jobs:
enable-auto-merge:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Generate github token
id: generate_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
env:
OPENSSL_CONF: /dev/null
- uses: alexwilson/enable-github-automerge-action@main
with:
github-token: ${{ steps.generate_token.outputs.token }}