[ci] Stop automatically marking issues and PRs stale (#1964)

This commit is contained in:
William Lin
2026-10-15 01:05:48 -07:00
committed by GitHub
parent 06c8c5f4b8
commit ba371e33ed
2 changed files with 3 additions and 38 deletions
-34
View File
@@ -1,34 +0,0 @@
name: Close Stale Issues and PRs
on:
schedule:
# Daily at 1:30 AM UTC
- cron: '30 1 * * *'
jobs:
stale:
if: github.repository == 'hao-ai-lab/FastVideo'
permissions:
issues: write
pull-requests: write
actions: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
operations-per-run: 500
exempt-draft-pr: true
exempt-issue-labels: 'keep-open,pinned,security,Bug,RFC'
exempt-pr-labels: 'keep-open,pinned'
labels-to-add-when-unstale: 'unstale'
labels-to-remove-when-stale: 'unstale'
days-before-issue-stale: 90
days-before-issue-close: 30
stale-issue-label: 'stale'
days-before-pr-stale: 60
days-before-pr-close: 14
stale-pr-label: 'stale'
+3 -4
View File
@@ -461,12 +461,11 @@ The reusable implementation lives in
| Workflow | Trigger | Purpose |
|---|---|---|
| `community-issue-labeler.yml` | Issue opened or edited | Adds scope/platform labels from issue keywords. |
| `community-stale.yml` | Daily | Labels/closes stale items with exemptions. |
None of these automations post comments or messages on issues or pull
requests; they only set labels and close stale items. Keep it that way: new
automation must report through checks, commit statuses, or labels instead of
PR/issue comments.
requests; they only set labels. Issues and pull requests are never marked
stale or closed automatically. Keep it that way: new automation must report
through checks, commit statuses, or labels instead of PR/issue comments.
## File Reference