Skip to content

πŸ”„ synced file(s) with phnx47/shared-configs #87

πŸ”„ synced file(s) with phnx47/shared-configs

πŸ”„ synced file(s) with phnx47/shared-configs #87

Workflow file for this run

name: Auto-merge
on:
pull_request:
types: [labeled]
branches:
- "main"
permissions:
pull-requests: write
contents: write
jobs:
automerge:
name: Enable auto-merge
runs-on: ubuntu-24.04
if: github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run command
run: gh pr merge -s --auto ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}