Skip to content

ci: classify new issues and add auto-close and bot PR gates - #193

Merged
yonib05 merged 3 commits into
strands-agents:mainfrom
yonib05:ci/issue-triage-automation
Nov 17, 2026
Merged

yonib05 merged 3 commits into
strands-agents:mainfrom
yonib05:ci/issue-triage-automation

Conversation

@yonib05

@yonib05 yonib05 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Description

Ports the issue and PR triage automations that box adopted in strands-agents/box#184. None of the 6 open shell issues has a label or an issue type today.

  • issue-labeler.yml: on a new issue or PR, the shared strands-agents/devtools/issue-labeler action sets one type and at most one binding label.
    • .github/labelers/type.yml is box's config unchanged. On issues it also sets the native issue type (Bug, Feature, Chore, ...).
    • .github/labelers/language.yml maps binding-specific issues to the existing python, typescript (Node.js), and rust (the crate as a Rust dependency) labels, and sets the native Language field. Behavior every binding shares (commands, parser, VFS, network rules, MCP) gets no binding label.
    • No area labeler: shell has no area labels yet.
  • auto-close.yml: same as box and harness-sdk (with the pagination fix from ci: paginate issue events and comments in auto-close harness-sdk#5607). A maintainer adds autoclose in 3 days or autoclose in 7 days; the item closes after that window unless someone without write access replies, in which case the label is removed.
  • bot-pr-review-gate.yml: same as box and harness-sdk. PRs authored by bots or agents need 2 maintainer approvals; Dependabot is exempt. Like in box, it reports but does not block until it is added to the main ruleset.
  • Issue templates: drop labels: ["triage"] (no such label exists here) and replace the single Discussions link (the old sdk-python redirect) with box Discussions, the box repo, harness-sdk Discussions, and the harness-sdk repo. Shell has Discussions off.

Labels the workflows need were created ahead of this PR: chore, design, autoclose in 3 days, autoclose in 7 days.

Secret: the labeler needs an AWS_ROLE_ARN repo secret. It is now set to the Bedrock OIDC role the harness-sdk labeler uses. That role's trust policy already covers repo:strands-agents/*, so no IAM change is needed. Box's role was not an option without a trust change: it only trusts the box repos.

Related Issues

strands-agents/box#184

Documentation PR

None needed.

Type of Change

Other: CI and repository automation.

Testing

No Rust, Python, or Node changes. Ran the devtools classify.py locally (classification only, no writes) with both configs against all 11 shell issues:

auto-close.yml and bot-pr-review-gate.yml are byte-identical to box main, where both run.

Checklist

  • I have read the CONTRIBUTING document
  • I have reviewed and understand every line of code in this PR, including any generated by AI tools, and I can explain why it works
  • My change is focused and reasonably small; I have split unrelated work into separate PRs
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Port the issue triage automations from box:

- issue-labeler.yml labels new issues and PRs by type (native issue
  type) and binding (python, typescript, rust, plus the native
  Language field), using the shared devtools labeler.
- auto-close.yml closes items labeled "autoclose in 3/7 days" when no
  one outside the team replies.
- bot-pr-review-gate.yml requires two maintainer approvals on PRs
  authored by bots or agents.

Drop the nonexistent "triage" label from the issue templates and point
the Discussions link at harness-sdk.
@yonib05
yonib05 marked this pull request as ready for review November 17, 2026 13:59
@yonib05
yonib05 enabled auto-merge (squash) November 17, 2026 13:59
@yonib05
yonib05 merged commit 4e4bab1 into strands-agents:main Nov 17, 2026
62 checks passed
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