github.com/hashicorp/packer@v1.14.3/.github/workflows/auto-close-stale-issues.yml (about)

     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@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.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