Skip to content

Commit

Permalink
Merge pull request #4162 from sever-sever/T6781-sagitta
Browse files Browse the repository at this point in the history
T6781: Auto-close pull requests for sagitta
  • Loading branch information
c-po authored Oct 17, 2024
2 parents 55a657e + fc57bed commit c3f6886
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr-auto-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 }}

0 comments on commit c3f6886

Please sign in to comment.