Newer
Older
thu-learn-downloader-optimized / .github / workflows / auto-merge.yaml
@liblaf liblaf on 28 Nov 2023 388 bytes ci: sync with template repository
name: Auto-Merge

on:
  pull_request:

permissions:
  contents: write
  pull-requests: write

jobs:
  merge:
    if: github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]'
    runs-on: ubuntu-latest
    steps:
      - name: Enable auto-merge
        run: gh pr merge ${{ github.event.pull_request.html_url }} --auto
        env:
          GH_TOKEN: ${{ github.token }}