packer/.github/workflows/auto-close-stale-issues.yml
hashicorp-tsccr[bot] 0194d839b0
Result of tsccr-helper -log-level=info -pin-all-workflows . (#12507)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-07-19 13:20:14 -04:00

29 lines
1 KiB
YAML

name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
stale-bot:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 23
days-before-pr-stale: -1 # deactivate the action for PRs
days-before-close: 7
stale-issue-message: |
Hi,
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.
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.
only-labels: needs-reply