π Handle stale issues #806
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: π Handle stale issues | |
on: | |
schedule: | |
- cron: "30 2 * * *" | |
permissions: | |
contents: read | |
jobs: | |
stale: | |
permissions: | |
issues: write # for actions/stale to close stale issues | |
pull-requests: write # for actions/stale to close stale PRs | |
if: github.repository_owner == 'qgis' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-pr-message: > | |
The QGIS project highly values your contribution and would love to see | |
this work merged! | |
Unfortunately this PR has had no activity in the last 14 days and | |
is being automatically marked as "stale". | |
If you think this pull request should be merged, please check | |
- that all comments by reviewers have been addressed | |
- that there is enough information for reviewers, in particular | |
- link to any issues which this pull request fixes | |
- add a description of workflows which this pull request fixes | |
- add screenshots if applicable | |
In case you should have any uncertainty, please leave a comment and we will | |
be happy to help you proceed with this pull request. | |
If there is no further activity on this pull request, it will be closed in a | |
week. | |
close-pr-message: > | |
While we hate to see this happen, this PR has been automatically closed because | |
it has had no activity in the last 21 days despite being marked as feedback. | |
If this pull request should be reconsidered, please follow the guidelines in | |
the previous comment and reopen this pull request. | |
Or, if you have any further questions, just ask! We love to help, and if there's anything | |
the QGIS project can do to help push this PR forward please let us know how we can assist. | |
stale-pr-label: 'Stale' | |
exempt-pr-labels: 'Frozen' | |
stale-issue-message: > | |
The QGIS project highly values your report and would love to see it addressed. | |
However, this issue has been left in feedback mode for the last 14 days and is | |
being automatically marked as "stale". | |
If you would like to continue with this issue, please provide any missing information | |
or answer any open questions. If you could resolve the issue yourself meanwhile, | |
please leave a note for future readers with the same problem and close the issue. | |
In case you should have any uncertainty, please leave a comment and we will be | |
happy to help you proceed with this issue. | |
If there is no further activity on this issue, it will be closed in a week. | |
close-issue-message: > | |
While we hate to see this happen, this issue has been automatically closed because | |
it has had no activity in the last 21 days despite being marked as feedback. | |
If this issue should be reconsidered, please follow the guidelines in the previous | |
comment and reopen this issue. | |
Or, if you have any further questions, there are also | |
[further support channels](https://www.qgis.org/en/site/forusers/support.html) | |
that can help you. | |
stale-issue-label: 'Stale' | |
only-labels: 'Feedback' | |
days-before-stale: 14 | |
days-before-close: 7 | |
labels-to-remove-when-unstale: 'Stale' | |
operations-per-run: 1000 |