summaryrefslogtreecommitdiff
path: root/.github/workflows/pr-auto-close.yml
blob: 9471088053f9f1440b391f5753306e8aa745bd0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Auto-Close Pull Requests Sagitta

on:
  pull_request_target:
    types:
      - opened
    branches:
      - sagitta

jobs:
  run:
    runs-on: ubuntu-latest
    steps:
    - uses: superbrothers/close-pull-request@v3
      with:
        # Optional. Post a issue comment just before closing a pull request.
        comment: "Pull requests to this branch are not accepted and have been closed automatically."
        github_token: ${{ secrets.PAT }}