Close stale issues and pull requests #25
This file contains hidden or 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 and pull requests | |
on: | |
schedule: | |
# Run once a day | |
- cron: "30 1 * * *" | |
jobs: | |
stale: | |
if: "github.repository == 'ESMValGroup/ESMValTool'" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-issue-stale: 1080 | |
days-before-pr-stale: 360 | |
days-before-close: 60 | |
ascending: true | |
operations-per-run: 300 | |
stale-issue-message: | | |
In order to maintain a backlog of relevant issues, we automatically label them as stale after 1080 days of inactivity. | |
If this issue is still important to you, please comment below to remove the stale label. Otherwise, this issue will be automatically closed in 60 days. | |
stale-pr-message: | | |
In order to maintain a backlog of relevant pull requests, we automatically label them as stale after 360 days of inactivity. | |
If this pull request is still important to you, please comment below to remove the stale label. Otherwise, this pull request will be automatically closed in 60 days. If this pull request only suffers from a lack of reviewers, please have a look at [our documentation](https://docs.esmvaltool.org/en/latest/community/review.html#how-do-i-request-a-review-of-my-pull-request) and follow the steps described there. | |
close-issue-message: | | |
This stale issue has been automatically closed due to a lack of community activity. | |
If you still care about this issue, please re-open it. If you do not have sufficient permissions for this, tag the @<span></span>ESMValGroup/technical-lead-development-team and @<span></span>ESMValGroup/scientific-lead-development-team in a comment below including a short message that this issue is still relevant to you. They will re-open it on your behalf. | |
close-pr-message: | | |
This stale pull request has been automatically closed due to a lack of community activity. | |
If you still care about this pull request, please re-open it. If you do not have sufficient permissions for this, tag the @<span></span>ESMValGroup/technical-lead-development-team and @<span></span>ESMValGroup/scientific-lead-development-team in a comment below including a short message that this pull request is still relevant to you. They will re-open it on your behalf. |