github.com/Azure/aad-pod-identity@v1.8.17/.github/workflows/stale.yml (about)

     1  name: 'Close stale issues and PRs'
     2  on:
     3    schedule:
     4      - cron: '0 0 * * *' # every day at midnight
     5    workflow_dispatch:
     6  
     7  permissions:
     8    issues: write
     9    pull-requests: write
    10  
    11  jobs:
    12    stale:
    13      runs-on: ubuntu-latest
    14      steps:
    15        - uses: actions/stale@v8
    16          with:
    17            days-before-stale: 14
    18            days-before-close: 7
    19            operations-per-run: 100
    20            exempt-issue-labels: 'known-issue,enhancement'
    21            stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.'
    22            close-issue-message: 'This issue was closed because it has been stalled for 21 days with no activity. Feel free to re-open if you are experiencing the issue again.'
    23            stale-pr-message: 'This PR is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.'
    24            close-pr-message: 'This PR was closed because it has been stalled for 21 days with no activity. Feel free to re-open if it is ready for review.'