| 1 |
name: 'Close stale and lock closed issues and PRs' |
| 2 |
on: |
| 3 |
workflow_dispatch: |
| 4 |
schedule: |
| 5 |
- cron: '30 1 * * *' |
| 6 |
permissions: |
| 7 |
contents: read |
| 8 |
jobs: |
| 9 |
stale: |
| 10 |
permissions: |
| 11 |
issues: write |
| 12 |
pull-requests: write |
| 13 |
runs-on: ubuntu-latest |
| 14 |
steps: |
| 15 |
- uses: dessant/lock-threads@f5f995c727ac99a91dec92781a8e34e7c839a65e # v6.0.0 |
| 16 |
with: |
| 17 |
issue-inactive-days: 21 |
| 18 |
add-issue-labels: 'Outdated' |
| 19 |
issue-comment: > |
| 20 |
This issue has been automatically locked since there |
| 21 |
has not been any recent activity after it was closed. |
| 22 |
Please open a new issue for related bugs. |
| 23 |
pr-comment: > |
| 24 |
This pull request has been automatically locked since there |
| 25 |
has not been any recent activity after it was closed. |
| 26 |
Please open a new issue for related bugs. |
| 27 |
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0 |
| 28 |
with: |
| 29 |
operations-per-run: 999 |
| 30 |
days-before-issue-stale: 365 |
| 31 |
days-before-pr-stale: 365 |
| 32 |
days-before-issue-close: 56 |
| 33 |
days-before-pr-close: 56 |
| 34 |
stale-issue-message: > |
| 35 |
This issue has been automatically marked as stale because it has not had |
| 36 |
recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
| 37 |
|
| 38 |
If this is a **bug** and you can still reproduce this error on the <code>master</code> branch, please reply with all of the information you have about it in order to keep the issue open. |
| 39 |
|
| 40 |
If this is a **feature request**, and you feel that it is still relevant and valuable, please tell us why. |
| 41 |
|
| 42 |
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. |
| 43 |
stale-pr-message: This PR has been automatically marked as stale because it has not had |
| 44 |
recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
| 45 |
|
| 46 |
Please check https://github.com/gohugoio/hugo/blob/master/CONTRIBUTING.md#code-contribution and verify that this code contribution fits with the description. If yes, tell us in a comment. |
| 47 |
|
| 48 |
This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. |
| 49 |
stale-issue-label: 'Stale' |
| 50 |
exempt-issue-labels: 'Keep,Security' |
| 51 |
stale-pr-label: 'Stale' |
| 52 |
exempt-pr-labels: 'Keep,Security' |