|
| 1 | +name: Stale |
| 2 | + |
| 3 | +# yamllint disable-line rule:truthy |
| 4 | +on: |
| 5 | + schedule: |
| 6 | + - cron: "0 0 * * *" |
| 7 | + workflow_dispatch: |
| 8 | + |
| 9 | +jobs: |
| 10 | + stale: |
| 11 | + if: github.repository_owner == 'python-kasa' |
| 12 | + runs-on: ubuntu-latest |
| 13 | + steps: |
| 14 | + - name: Stale issues and prs |
| 15 | + uses: actions/stale@v9.0.0 |
| 16 | + with: |
| 17 | + repo-token: ${{ github.token }} |
| 18 | + days-before-stale: 90 |
| 19 | + days-before-close: 7 |
| 20 | + operations-per-run: 250 |
| 21 | + remove-stale-when-updated: true |
| 22 | + stale-issue-label: "stale" |
| 23 | + exempt-issue-labels: "no-stale,help-wanted,needs-more-information,waiting-for-reporter" |
| 24 | + stale-pr-label: "stale" |
| 25 | + exempt-pr-labels: "no-stale" |
| 26 | + stale-pr-message: > |
| 27 | + There hasn't been any activity on this pull request recently. This |
| 28 | + pull request has been automatically marked as stale because of that |
| 29 | + and will be closed if no further activity occurs within 7 days. |
| 30 | +
|
| 31 | + If you are the author of this PR, please leave a comment if you want |
| 32 | + to keep it open. Also, please rebase your PR onto the latest dev |
| 33 | + branch to ensure that it's up to date with the latest changes. |
| 34 | +
|
| 35 | + Thank you for your contribution! |
| 36 | + stale-issue-message: > |
| 37 | +
EBA6
There hasn't been any activity on this issue recently. This issue has |
| 38 | + been automatically marked as stale because of that. It will be closed |
| 39 | + if no further activity occurs. |
| 40 | +
|
| 41 | + Please make sure to update to the latest python-kasa version and |
| 42 | + check if that solves the issue. |
| 43 | +
|
| 44 | + Thank you for your contributions. |
| 45 | +
|
| 46 | +
|
| 47 | + - name: Needs-more-information and waiting-for-reporter stale issues policy |
| 48 | + uses: actions/stale@v9.0.0 |
| 49 | + with: |
| 50 | + repo-token: ${{ github.token }} |
| 51 | + only-labels: "needs-more-information,waiting-for-reporter" |
| 52 | + days-before-stale: 21 |
| 53 | + days-before-close: 7 |
| 54 | + days-before-pr-stale: -1 |
| 55 | + days-before-pr-close: -1 |
| 56 | + operations-per-run: 250 |
| 57 | + remove-stale-when-updated: true |
| 58 | + stale-issue-label: "stale" |
| 59 | + exempt-issue-labels: "no-stale,help-wanted" |
| 60 | + stale-issue-message: > |
| 61 | + There hasn't been any activity on this issue recently and it has |
| 62 | + been waiting for the reporter to provide information or an update. |
| 63 | + This issue has been automatically marked as stale because of that. |
| 64 | + It will be closed if no further activity occurs. |
| 65 | +
|
| 66 | + Please make sure to update to the latest python-kasa version and |
| 67 | + check if that solves the issue. |
| 68 | +
|
| 69 | + Thank you for your contributions. |
0 commit comments