Skip to content

Commit 4258246

Browse files
committed
Use actions/stale to close 'Awaiting OP Action' that have had no response in 7 days
1 parent 98e8e6d commit 4258246

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/stale.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Close stale issues
2+
3+
on:
4+
schedule:
5+
- cron: "10 0 * * *"
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
11+
jobs:
12+
stale:
13+
if: github.repository_owner == 'python-pillow'
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: "Check issues"
19+
uses: actions/stale@v4
20+
with:
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}
22+
only-issue-labels: "Awaiting OP Action"
23+
close-issue-message: "Closing this issue as no feedback has been received."
24+
days-before-stale: -1
25+
days-before-close: 7
26+
labels-to-remove-when-unstale: "Awaiting OP Action"

0 commit comments

Comments
 (0)