git-shadow 0.0.3

Standalone shadow copies of git repos (or parts of them) in a working directory.
# Close issues and PRs that have gone stale to keep the backlog actionable.
# Issues are marked stale after 60 days of inactivity; PRs after 30 days.
# Stale items are closed after a further 7 days if there is no new activity.

name: Stale

on:
  schedule:
    - cron: "0 9 * * *"  # run daily at 09:00 UTC

jobs:
  stale:
    name: Stale
    runs-on: ubuntu-latest
    permissions:
      issues: write
      pull-requests: write
    steps:
      - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639  # v9
        with:
          stale-issue-message: "This issue has been inactive for 60 days and will be closed in 7 days unless there is further activity."
          stale-pr-message: "This PR has been inactive for 30 days and will be closed in 7 days. Please rebase and update if you'd like it reviewed."
          days-before-issue-stale: 60
          days-before-pr-stale: 30
          days-before-close: 7