Skip to content

Exclude status:blocked issues and PRs from the stale workflow #276

Description

@jagdish-15

The repository currently uses a GitHub Actions stale workflow to automatically mark inactive issues and pull requests as stale after a period of inactivity.

However, a few issues are intentionally kept open because they are blocked by external dependencies, pending architectural changes, or other prerequisite work. These are marked with the status:blocked label.

Despite this, the stale workflow still marks them as stale, creating unnecessary notifications and requiring maintainers to repeatedly remove the stale label.

Proposed Solution

Update the stale workflow to exempt issues and pull requests labeled status:blocked by adding the following configuration:

exempt-issue-labels: "status:blocked"
exempt-pr-labels: "status:blocked"

Expected Outcome

  • Issues labeled status:blocked are never marked as stale.
  • Pull requests labeled status:blocked are also exempt from stale processing.
  • Maintainers no longer need to manually remove stale labels from intentionally blocked work.
  • The stale workflow continues to function normally for all other issues and pull requests.

Affected Files

  • .github/workflows/stale.yml

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions