Skip to content

Mark Inactive Issues and PRs #298

Mark Inactive Issues and PRs

Mark Inactive Issues and PRs #298

Workflow file for this run

name: Mark Inactive Issues and PRs
on:
schedule:
- cron: '0 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been inactive for 30 days. It will be closed due to inactivity. If this issue is still relevant, please comment to keep it open. Alternatively, you can create a new issue with updated information."
stale-pr-message: "This PR has been inactive for 30 days. If it's waiting for a review, please reach out to the team. Otherwise, please update the PR or it will be closed due to inactivity."
stale-issue-label: "inactive-issue"
stale-pr-label: "inactive-pr"
days-before-stale: 30