mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 11:26:27 +03:00
Use actions/stale to close 'Awaiting OP Action' that have had no response in 7 days
This commit is contained in:
parent
98e8e6df33
commit
4258246ed5
26
.github/workflows/stale.yml
vendored
Normal file
26
.github/workflows/stale.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Close stale issues
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "10 0 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
if: github.repository_owner == 'python-pillow'
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Check issues"
|
||||||
|
uses: actions/stale@v4
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
only-issue-labels: "Awaiting OP Action"
|
||||||
|
close-issue-message: "Closing this issue as no feedback has been received."
|
||||||
|
days-before-stale: -1
|
||||||
|
days-before-close: 7
|
||||||
|
labels-to-remove-when-unstale: "Awaiting OP Action"
|
Loading…
Reference in New Issue
Block a user