2022-04-12 13:15:25 +03:00
|
|
|
name: Close stale issues
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "10 0 * * *"
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
2024-11-03 00:31:21 +03:00
|
|
|
contents: read
|
2022-04-12 13:15:25 +03:00
|
|
|
|
2023-09-09 14:12:47 +03:00
|
|
|
concurrency:
|
2022-09-26 15:16:33 +03:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-04-12 13:15:25 +03:00
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
if: github.repository_owner == 'python-pillow'
|
2024-11-03 00:31:21 +03:00
|
|
|
permissions:
|
|
|
|
issues: write
|
2022-04-12 13:15:25 +03:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: "Check issues"
|
2023-12-07 18:07:52 +03:00
|
|
|
uses: actions/stale@v9
|
2022-04-12 13:15:25 +03:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2022-04-12 14:53:50 +03:00
|
|
|
only-labels: "Awaiting OP Action"
|
2022-04-12 13:15:25 +03:00
|
|
|
close-issue-message: "Closing this issue as no feedback has been received."
|
2022-04-13 16:07:20 +03:00
|
|
|
days-before-stale: 7
|
2022-04-13 15:57:20 +03:00
|
|
|
days-before-issue-close: 0
|
2022-04-12 14:54:29 +03:00
|
|
|
days-before-pr-close: -1
|
2022-04-12 13:15:25 +03:00
|
|
|
labels-to-remove-when-unstale: "Awaiting OP Action"
|