2021-11-20 09:38:40 +00:00
|
|
|
name: "Handle Stale Issues & Pull Requests"
|
2021-01-16 09:16:05 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 1 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
2021-01-16 14:34:31 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-01-16 09:16:05 +00:00
|
|
|
steps:
|
2021-01-18 19:51:56 +00:00
|
|
|
- name: Close stale issues
|
2021-07-20 07:01:51 +00:00
|
|
|
uses: actions/stale@v4
|
2021-01-16 09:16:05 +00:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2021-01-19 08:27:01 +00:00
|
|
|
days-before-stale: 20
|
|
|
|
days-before-close: 10
|
2021-11-15 20:00:25 +00:00
|
|
|
|
2021-11-20 09:38:40 +00:00
|
|
|
exempt-issue-labels: stale-bot/ignore
|
|
|
|
stale-issue-label: meta/stale
|
2021-01-16 09:16:05 +00:00
|
|
|
stale-issue-message: >
|
2021-11-20 09:38:40 +00:00
|
|
|
This issue has become stale because it has been open for 20 days
|
|
|
|
without activity. This issue will be closed in 10 days automatically unless:
|
|
|
|
|
|
|
|
- a maintainer removes the `meta/stale` label or adds the `stale-bot/ignore` label
|
|
|
|
- new activity occurs, such as a new comment
|
2021-11-15 20:00:25 +00:00
|
|
|
close-issue-label: "meta/closed due to age or inactivity"
|
2021-01-16 09:16:05 +00:00
|
|
|
close-issue-message: >
|
|
|
|
This issue was closed due to inactivity.
|
2021-11-15 20:00:25 +00:00
|
|
|
|
2021-11-20 09:38:40 +00:00
|
|
|
exempt-pr-labels: stale-bot/ignore
|
|
|
|
stale-pr-label: meta/stale
|
2021-11-15 20:00:25 +00:00
|
|
|
stale-pr-message: >
|
2021-11-20 09:38:40 +00:00
|
|
|
This pull request has become stale because it has been open for 20 days
|
|
|
|
without activity. This pull request will be closed in 10 days automatically unless:
|
|
|
|
|
|
|
|
- a maintainer removes the `meta/stale` label or adds the `stale-bot/ignore` label
|
|
|
|
- new activity occurs, such as a new comment
|
2021-11-15 20:00:25 +00:00
|
|
|
close-pr-label: "meta/closed due to age or inactivity"
|
|
|
|
closed-pr-message: >
|
|
|
|
This PR was closed due to inactivity.
|