Casey Flynn | 555dfb1 | 2023-09-25 12:30:39 -0700 | [diff] [blame^] | 1 | name: Close Stale Issues |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '0 0 * * *' |
| 6 | |
| 7 | permissions: |
| 8 | contents: read |
| 9 | |
| 10 | jobs: |
| 11 | stale-bot: |
| 12 | permissions: |
| 13 | issues: write # for actions/stale to close stale issues |
| 14 | pull-requests: write # for actions/stale to close stale PRs |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
| 17 | - uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da # v8.0.0 |
| 18 | with: |
| 19 | repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 20 | days-before-issue-stale: 23 |
| 21 | days-before-pr-stale: -1 # deactivate the action for PRs |
| 22 | days-before-close: 7 |
| 23 | stale-issue-message: | |
| 24 | Hi, |
| 25 | |
| 26 | This issue has not received any update in the last 3 weeks, and will automatically be closed in 7 days if it does not receive any activity by then. |
| 27 | |
| 28 | If you find the [community forum](https://discuss.hashicorp.com/c/packer) to be more helpful or if you've found the answer to your question elsewhere please feel free to post a response and close the issue. |
| 29 | only-labels: needs-reply |