Skip to content

ci: add job to close inactive PRs after one month#471

Merged
calvarjorge merged 1 commit into
mainfrom
ci/close-inactive-prs
Jul 7, 2026
Merged

ci: add job to close inactive PRs after one month#471
calvarjorge merged 1 commit into
mainfrom
ci/close-inactive-prs

Conversation

@calvarjorge

Copy link
Copy Markdown
Contributor

What

Adds a scheduled workflow that auto-closes pull requests with no activity for ~1 month.

How

Uses actions/stale (pinned to v9.1.0 SHA):

  • Marks a PR stale after 23 days of inactivity
  • Closes it 7 days later (~30 days total)
  • Comments at each step; reopening is allowed
  • PRs only — issues are untouched
  • Exempts no-stale, work-in-progress, and dependencies labels

Runs daily at 08:00 UTC, or on-demand via workflow_dispatch.

Adds a scheduled GitHub Actions workflow that marks pull requests stale
after 23 days of inactivity and closes them 7 days later (~1 month total).
Runs daily and can be triggered manually via workflow_dispatch.

Co-authored-by: Isaac
Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>
@calvarjorge calvarjorge requested a review from a team as a code owner July 6, 2026 14:37
@calvarjorge calvarjorge requested a review from ditadi July 6, 2026 14:37
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🔬  Run evals on this PR  ·  Go to Evals Monitor →

@calvarjorge calvarjorge merged commit 62f587f into main Jul 7, 2026
10 checks passed
@calvarjorge calvarjorge deleted the ci/close-inactive-prs branch July 7, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants