blob: 36e1bba0eb561e2feb196071f3a3c53e19e07d92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 }}
|