Skip to content

ci: label PRs by changed paths and mark inactive issues and PRs as stale - #175

Merged
cvas22 merged 1 commit into
mainfrom
ci/issue-pr-management
Nov 22, 2026
Merged

cvas22 merged 1 commit into
mainfrom
ci/issue-pr-management

Conversation

@cvas22

@cvas22 cvas22 commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

What this changes

Adds two housekeeping workflows. The labeler tags PRs by the paths they touch (code, tests, documentation, examples, github_actions). The stale job runs daily and marks issues after 90 days and PRs after 60 days without activity. It only adds the label and a comment, it never closes anything. Pinned, security and port items are skipped, plus dependabot PRs and anything on a milestone.

It runs on pull_request_target so fork PRs get labeled too, but it never checks out PR code.

How I tested it

YAML lints cleanly. The labels are already created, and #171-#173 are tagged port. The labeler only runs once this is on main, since pull_request_target uses the base branch workflow.

  • Tests added or updated in tests/unit
  • CHANGES.rst updated if users will notice the change
  • Docs updated if behavior or the API changed

@cvas22
cvas22 merged commit 01313be into main Nov 22, 2026
9 checks passed
@cvas22
cvas22 deleted the ci/issue-pr-management branch November 22, 2026 08:58
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.

1 participant