Skip to content

Commit

Permalink
Run stale job hourly (facebook#28769)
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens authored and AndyPengc12 committed Apr 15, 2024
1 parent a65dae3 commit c341582
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: 'Manage stale issues and PRs'
on:
schedule:
# Run daily at 2AM
- cron: '0 2 * * *'
# Run hourly
- cron: '0 * * * *'

jobs:
stale:
Expand All @@ -16,7 +16,7 @@ jobs:
days-before-stale: 90
# Number of days of inactivity before a stale issue or PR is closed
days-before-close: 7
# Number of issues or PRs to process per day
# API calls per run
operations-per-run: 100

# --- Issues ---
Expand All @@ -43,4 +43,4 @@ jobs:
close-pr-message: >
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!
# PRs with these labels will never be considered stale
exempt-pr-labels: "Partner,React Core Team,Resolution: Backlog,Type: Bug,Type: Discussion,Type: Needs Investigation,Type: Regression,Type: Feature Request,Type: Enhancement"
exempt-pr-labels: "Partner,React Core Team,Resolution: Backlog,Type: Bug,Type: Discussion,Type: Needs Investigation,Type: Regression,Type: Feature Request,Type: Enhancement"

0 comments on commit c341582

Please sign in to comment.