Skip to content

chore: adopt shared AI code review workflow - #86

Merged
weited merged 1 commit into
mainfrom
chore/9653-adopt-ai-code-review-workflow
Oct 28, 2026
Merged

weited merged 1 commit into
mainfrom
chore/9653-adopt-ai-code-review-workflow

Conversation

@weited

@weited weited commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Call aodn/common-workflow ai-code-review@ai-code-review-v1 with the Kiro engine, and add Ocean Current API specific review direction, context and reuse locations under .github/ai-code-review/.

Copilot AI balanced review requested due to automatic review settings October 27, 2026 08:12
@github-actions

This comment has been minimized.

Call aodn/common-workflow ai-code-review@ai-code-review-v1 with the Kiro
engine, and add Ocean Current API specific review direction, context and
reuse locations under .github/ai-code-review/.
@weited
weited force-pushed the chore/9653-adopt-ai-code-review-workflow branch from 6e3fb84 to 287bc1e Compare October 27, 2026 08:13
@github-actions

Copy link
Copy Markdown

🤖 AI code review

Summary

This PR adopts the shared aodn/common-workflow AI code review workflow, adding a caller workflow, repository-specific prompt/instructions/README under .github/ai-code-review/, and a documentation row in AGENTS.md. It contains only CI and documentation configuration — no application, indexing, product-config, or security-sensitive code — and the checkout matches the diff.

Findings

No issues found in the changed code.

The caller workflow is well-formed: permissions: {} at the top with a narrowed contents: read / pull-requests: write at the job level follows least-privilege; the concurrency group and the pr-number input both correctly fall back from github.event.pull_request.number to inputs.pr-number for workflow_dispatch runs; and fork PRs are skipped for pull_request events (with the shared workflow handling forks on manual runs, per the README). The AGENTS.md table row is consistent with the surrounding rows. I found no instruction-injection or credential content in the added files.

Tests

No tests are expected or needed: the change is CI workflow and Markdown configuration only, with no Java behaviour to cover under src/test/java.


Advisory AI review; it does not replace human review or block merging. Commit 287bc1e · kiro · 0.37 credits · run.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The workflow configuration matches the shared interface and safeguards, with no unresolved issues in the five changed files.

No open issues 🎉

What changed in this PR

Adds advisory Kiro code reviews through the shared aodn/common-workflow workflow, with guidance tailored to Ocean Current API’s indexing, product contracts and existing architecture.

Changes:

  • Adds PR and manual review triggers, skip rules, concurrency controls and Kiro configuration.
  • Supplies repository-specific review priorities, context and reusable-code locations.
  • Documents review behaviour and setup.
File Description
AGENTS.md Adds the advisory review workflow to the CI/CD documentation.
.github/​workflows/​ai-code-review.yaml Configures the shared Kiro review workflow.
.github/​ai-code-review/​README.md Documents configuration, triggers and review behaviour.
.github/​ai-code-review/​prompt.md Defines repository-specific review priorities.
.github/​ai-code-review/​instructions.md Provides architecture context, conventions and reuse guidance.

Review effort: Balanced

@weited
weited requested a review from grojeda October 28, 2026 22:15

@grojeda grojeda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@weited
weited merged commit 91844fb into main Oct 28, 2026
2 checks passed
@weited
weited deleted the chore/9653-adopt-ai-code-review-workflow branch October 28, 2026 22:23
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.

3 participants