| 1 |
--- |
| 2 |
name: Stale |
| 3 |
|
| 4 |
# yamllint disable-line rule:truthy |
| 5 |
on: |
| 6 |
schedule: |
| 7 |
- cron: "0 8 * * *" |
| 8 |
workflow_dispatch: |
| 9 |
|
| 10 |
jobs: |
| 11 |
stale: |
| 12 |
name: ๐งน Clean up stale issues and PRs |
| 13 |
runs-on: ubuntu-latest |
| 14 |
permissions: |
| 15 |
issues: write |
| 16 |
pull-requests: write |
| 17 |
steps: |
| 18 |
- name: ๐ Run stale |
| 19 |
uses: actions/[email protected] |
| 20 |
with: |
| 21 |
repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 22 |
days-before-stale: 30 |
| 23 |
days-before-close: 7 |
| 24 |
remove-stale-when-updated: true |
| 25 |
stale-issue-label: "stale" |
| 26 |
exempt-issue-labels: "no-stale,help-wanted" |
| 27 |
stale-issue-message: > |
| 28 |
There hasn't been any activity on this issue recently, so we |
| 29 |
clean up some of the older and inactive issues. |
| 30 |
|
| 31 |
Please make sure to update to the latest version and |
| 32 |
check if that solves the issue. Let us know if that works for you |
| 33 |
by leaving a comment ๐ |
| 34 |
|
| 35 |
This issue has now been marked as stale and will be closed if no |
| 36 |
further activity occurs. Thanks! |
| 37 |
stale-pr-label: "stale" |
| 38 |
exempt-pr-labels: "no-stale" |
| 39 |
stale-pr-message: > |
| 40 |
There hasn't been any activity on this pull request recently. This |
| 41 |
pull request has been automatically marked as stale because of that |
| 42 |
and will be closed if no further activity occurs within 7 days. |
| 43 |
Thank you for your contributions. |