nsip 0.4.0

NSIP Search API client for nsipsearch.nsip.org/api
Documentation

name: Stale Issue Management

on:
  # schedule:
  #   - cron: '0 0 * * *'  # Daily
  workflow_dispatch:

permissions:
  issues: write
  pull-requests: write

jobs:
  stale:
    name: Mark Stale Issues and PRs
    runs-on: ubuntu-latest
    
    steps:
      - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          
          # Issues
          days-before-issue-stale: 60
          days-before-issue-close: 14
          stale-issue-label: 'stale'
          stale-issue-message: |
            This issue has been automatically marked as stale because it has not had
            recent activity. It will be closed if no further activity occurs within 14 days.
            If this issue is still relevant, please add a comment to keep it open.
          close-issue-message: |
            This issue has been automatically closed due to inactivity.
            Feel free to reopen if this is still relevant.
          
          # Pull Requests
          days-before-pr-stale: 30
          days-before-pr-close: 7
          stale-pr-label: 'stale'
          stale-pr-message: |
            This PR has been automatically marked as stale because it has not had
            recent activity. It will be closed if no further activity occurs within 7 days.
          close-pr-message: |
            This PR has been automatically closed due to inactivity.
            Feel free to reopen when ready to continue.
          
          # Exemptions
          exempt-issue-labels: 'pinned,security,good first issue'
          exempt-pr-labels: 'pinned,work-in-progress'