Skip to content

ci: add stale issue and PR workflow#780

Merged
adamyeats merged 1 commit into
mainfrom
ci/add-stale-workflow
Jul 15, 2026
Merged

ci: add stale issue and PR workflow#780
adamyeats merged 1 commit into
mainfrom
ci/add-stale-workflow

Conversation

@adamyeats

Copy link
Copy Markdown
Contributor

Copies the stale workflow from grafana/grafana verbatim, as part of a rollout across the standalone data source repos.

What it does:

  • Issues inactive for 1 year are labelled stale, then closed after a further 30 days of inactivity.
  • PRs inactive for 30 days are labelled stale, then closed after a further 2 weeks.
  • Apply the no stalebot label to exempt an issue or PR (issues labelled type/epic are also exempt).

User-facing impact: community issues and PRs in this repo will start receiving stale warnings and may be auto-closed by the bot.

Copilot AI review requested due to automatic review settings July 15, 2026 00:42
@adamyeats adamyeats requested a review from a team as a code owner July 15, 2026 00:42
@cla-assistant

cla-assistant Bot commented Jul 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@cla-assistant

cla-assistant Bot commented Jul 15, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an automated GitHub Actions workflow to mark and close stale issues/PRs, aligning this repository with the stale-bot rollout used across Grafana standalone data source repos.

Changes:

  • Introduces a scheduled .github/workflows/stale.yml workflow using actions/stale@v10.
  • Configures issue staleness at 1 year + 30 days to close, and PR staleness at 30 days + 14 days to close.
  • Exempts items with no stalebot (and type/epic for issues).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/stale.yml
@cla-assistant

cla-assistant Bot commented Jul 15, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@adamyeats adamyeats enabled auto-merge (squash) July 15, 2026 00:51
@adamyeats adamyeats merged commit dfe4e00 into main Jul 15, 2026
24 checks passed
@adamyeats adamyeats deleted the ci/add-stale-workflow branch July 15, 2026 14:56
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.

3 participants