Skip to content

Commit

Permalink
ci: Update .github/workflows/check-stale.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
qctrlrobot committed Jul 30, 2024
1 parent 5873c60 commit 0b64543
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check-stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
##### 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@v9
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

0 comments on commit 0b64543

Please sign in to comment.