Enable agentic reviewer workflows in drasi-server#93
Conversation
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow that lets maintainers trigger centralized, label-driven PR reviewer workflows hosted in drasi-project/.github. In this codebase, it introduces the automation glue for cross-repo reviewer dispatch without changing application runtime behavior.
Changes:
- Adds
.github/workflows/pr-reviewers.ymlto listen forreview:*labels on PRs. - Maps each supported label to one or more centralized locked reviewer workflows.
- Dispatches those reviewer workflows via
gh workflow run, passing the current PR URL.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
🔍 YAML Snippet Validation ReportI validated all YAML configuration snippets in markdown files against the Drasi Server Rust models. ❌ Issue FoundFile: Problem: The
Evidence: // src/config/types.rs, lines 109-111
/// Enable cosign signature verification for downloaded plugins (default: true)
#[serde(default = "default_true")]
pub verify_plugins: bool,The Impact: Users reading the docs may assume plugin verification is disabled by default and be surprised when downloaded plugins require valid Sigstore signatures. Suggested fix: -| `verifyPlugins` | boolean | `false` | Enable cosign signature verification...
+| `verifyPlugins` | boolean | `true` | Enable cosign signature verification...✅ Everything Else Looks GoodAll other YAML snippets validated correctly:
Files checked:
|
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
Description
Adds
.github/workflows/pr-reviewers.yml, a label-driven caller workflowthat dispatches the centralized Drasi agentic PR reviewers hosted in
drasi-project/.github.When a PR is labeled with one of:
review:correctnessreview:securityreview:designreview:docsreview:testingreview:prior-artreview:all(runs all six)the workflow invokes the corresponding
pr-*-reviewer.lock.ymlindrasi-project/.githubviagh workflow run(cross-repoworkflow_dispatch). Each reviewer executes in the.githubrepocontext, fetches the PR, and posts its review back as a comment on
this PR.
For reference, here is a test PR: drasi-project/drasi-core#429
Type of change
Fixes: #issue_number