ci: run triage + stale-issue bots via adk-samples reusable workflows#1009
Draft
karolpiotrowicz wants to merge 1 commit into
Draft
ci: run triage + stale-issue bots via adk-samples reusable workflows#1009karolpiotrowicz wants to merge 1 commit into
karolpiotrowicz wants to merge 1 commit into
Conversation
Add two thin caller workflows that run the ADK Go GitHub bots on adk-go's own issues. The bot implementations live in google/adk-samples (go/github-bots/issue-triage and go/github-bots/stale-issues) and are invoked as reusable workflows, so adk-go carries no bot code or extra dependencies. Because a reusable workflow runs in the caller's context, the built-in GITHUB_TOKEN (scoped here to issues: write) writes to adk-go and no PAT/App is needed. Manual dispatch defaults to dry-run; both are fork-guarded. Follow-ups before these are active: replace the `@main` refs with the merged adk-samples commit SHAs, and add a GEMINI_API_KEY repository secret.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two thin caller workflows that triage and audit adk-go's own issues. The bot implementations live in
google/adk-samples(go/github-bots/issue-triage,go/github-bots/stale-issues) and are invoked here as reusable workflows — so adk-go carries no bot code and no extra Go dependencies.triage-bot.yml— onissues: [opened]+ 6-hourly schedule + dispatch → sets issue type + a categorization label.stale-bot.yml— daily schedule + dispatch → warns then closes issues left waiting on the author (maintainer list passed inline).Why the token "just works"
A reusable workflow runs in the caller's context, so the built-in
GITHUB_TOKEN(scoped here toissues: write) writes to adk-go — no PAT or GitHub App.OWNER/REPOresolve to adk-go automatically. Manual dispatch defaults to dry-run; both jobs are fork-guarded.Relation to existing PRs
Supersedes the in-repo samples #1005 (stale) and #1007 (triage): the code now lives once, in adk-samples. Those two PRs will be closed once these callers and the adk-samples PRs land.
Validation
actionlintclean on both workflows. End-to-end behavior was verified by dry-run runs of the bots (from adk-samples, against this repo's live issues) — see #2079 / #2080.