Skip to content

Close stale issues and PRs #98

Close stale issues and PRs

Close stale issues and PRs #98

Workflow file for this run

##### This file is managed automatically. To update visit: https://github.com/qctrl/repositories-manager. #####
name: "Close stale issues and PRs"
on:
schedule:
- cron: "0 23 * * *" # Every day at 11:00 PM UTC.
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
steps:
- uses: actions/stale@v8
with:
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment, or this issue will be closed in 5 days."
stale-pr-message: "This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment, or this PR will be closed and the branch deleted in 5 days."
close-issue-message: "This issue was closed because it has been stalled for 5 days with no activity."
close-pr-message: "This PR was closed because it has been stalled for 5 days with no activity."
days-before-stale: 30
days-before-close: 5
stale-issue-label: "stale"
exempt-pr-labels: "pinned,security"
delete-branch: true