Skip to content

Commit

Permalink
T6781: Auto-close pull requests (#4156)
Browse files Browse the repository at this point in the history
  • Loading branch information
sever-sever authored Oct 15, 2024
1 parent 3e7f9a8 commit 74691a5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr-auto-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Auto-Close Pull Requests Circinus

on:
pull_request:
branches:
- circinus

jobs:
auto_close_pr:
runs-on: ubuntu-latest
steps:
- name: Close PR
run: |
set -eux
gh pr close ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --comment "Pull requests to this branch are not accepted and have been closed automatically."
env:
GH_TOKEN: ${{ secrets.PAT }}

0 comments on commit 74691a5

Please sign in to comment.