github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/.github/workflows/stale.yml (about)

     1  name: Mark stale issues and pull requests
     2  
     3  on:
     4    schedule:
     5    - cron: "0 11 * * 1-4"
     6    workflow_dispatch:
     7  
     8  jobs:
     9    stale:
    10      runs-on: ubuntu-latest
    11      permissions:
    12        issues: write
    13        pull-requests: write
    14      steps:
    15      - uses: actions/stale@v3
    16        with:
    17          operations-per-run: 1000
    18          repo-token: ${{ secrets.GITHUB_TOKEN }}
    19          stale-issue-message: |
    20             We have marked this issue as stale because it has been inactive for
    21             18 months. If this issue is still relevant, removing the stale label
    22             or adding a comment will keep it active. Otherwise, we'll close it
    23             in 10 days to keep the issue queue tidy. Thank you for your
    24             contribution to Pebble!
    25          stale-pr-message: 'Stale pull request message'
    26          stale-issue-label: 'no-issue-activity'
    27          stale-pr-label: 'no-pr-activity'
    28          close-issue-label: 'X-stale'
    29          close-pr-label: 'X-stale'
    30          # Disable this for PR's, by setting a very high bar
    31          days-before-pr-stale: 99999
    32          days-before-issue-stale: 540
    33          days-before-close: 10
    34          exempt-issue-labels: 'X-nostale'