Close stale issues #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close stale issues | |
on: | |
schedule: | |
- cron: "10 0 * * *" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
stale: | |
if: github.repository_owner == 'python-pillow' | |
permissions: | |
issues: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check issues" | |
uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
only-labels: "Awaiting OP Action" | |
close-issue-message: "Closing this issue as no feedback has been received." | |
days-before-stale: 7 | |
days-before-issue-close: 0 | |
days-before-pr-close: -1 | |
labels-to-remove-when-unstale: "Awaiting OP Action" |