Merge pull request #6203 from hugovk/stale

This commit is contained in:
Hugo van Kemenade 2022-04-12 13:58:22 +03:00 committed by GitHub
commit 40a8cd3470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,27 @@
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@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
debug-only: true
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: 1
labels-to-remove-when-unstale: "Awaiting OP Action"