Skip to content

ci: add org-wide stale issue/PR workflow#23

Merged
rubambiza merged 2 commits intokagenti:mainfrom
rubambiza:ci/add-stale-workflow
Apr 15, 2026
Merged

ci: add org-wide stale issue/PR workflow#23
rubambiza merged 2 commits intokagenti:mainfrom
rubambiza:ci/add-stale-workflow

Conversation

@rubambiza
Copy link
Copy Markdown
Contributor

Summary

  • Add thin caller for the org-wide reusable stale workflow from kagenti/.github
  • Marks issues and PRs as stale after 60 days of inactivity, closes after 14 more days

Test plan

  • Trigger manually via workflow_dispatch and confirm it runs successfully

Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>

Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
Copy link
Copy Markdown

@huang195 huang195 left a comment

Choose a reason for hiding this comment

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

Clean, minimal thin-caller PR for the org-wide stale workflow. All 11 CI checks passing, DCO signed, proper Assisted-By attribution.

One concern: the reusable workflow is pinned to @main rather than a SHA — upstream changes to kagenti/.github take effect without explicit opt-in from this repo. This is common for org-internal workflows and may be intentional, but worth confirming as a deliberate choice.

Areas reviewed: CI/GitHub Actions, Security
Commits: 1 commit, signed-off: yes
CI status: all passing


jobs:
stale:
uses: kagenti/.github/.github/workflows/stale.yaml@main
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: The reusable workflow is pinned to @main. This means any change to the org workflow takes effect immediately in this repo without review here. Consider pinning to a specific SHA for supply-chain safety, or confirm this is an intentional choice for org-internal workflows.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good call flagging this. Using @main is an intentional choice for org-internal reusable workflows in kagenti -- we want upstream improvements (label changes, timing tweaks) to propagate automatically without requiring PRs to every consuming repo. This is the same pattern used by self-assign.yml across the org.

Added an inline comment in 6f4ae67 to make this explicit.


jobs:
stale:
uses: kagenti/.github/.github/workflows/stale.yaml@main
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

praise: Minimal permissions scoped to exactly what's needed (issues: write, pull-requests: write). Clean thin-caller pattern with good header comment and reference link.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>

Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
Copy link
Copy Markdown

@huang195 huang195 left a comment

Choose a reason for hiding this comment

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

Clean thin-caller PR for the org-wide stale workflow. Properly scoped permissions, DCO signed, Assisted-By attribution correct. The @main pinning concern from the prior review has been addressed with an inline comment in the second commit — intentional org-internal propagation pattern matching self-assign.yml across the org. All 11 CI checks passing.

Areas reviewed: CI/GitHub Actions, Security
Commits: 2 commits, all signed-off: yes
CI status: all passing

@rubambiza rubambiza merged commit d10311a into kagenti:main Apr 15, 2026
11 checks passed
@rubambiza rubambiza deleted the ci/add-stale-workflow branch April 15, 2026 12:58
rubambiza added a commit to rubambiza/kagenti that referenced this pull request Apr 15, 2026
Org-internal reusable workflows use @main so upstream improvements
propagate automatically. Matches self-assign.yml and stale.yaml.
See kagenti/agentic-control-plane#23 for rationale.

Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>

Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
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