Newer
Older
thu-learn-downloader-optimized / .github / workflows / merge.yaml
@github-actions[bot] github-actions[bot] on 28 Nov 2023 455 bytes ci: sync with template repository
name: Merge

on:
  pull_request:

permissions:
  contents: write
  pull-requests: write

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