Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ platform at its outbound edge and never enters the agent runtime.
[Docs walkthrough](https://docs.opencomputer.dev/agents/examples/pr-review) ·
[Serverless Agents overview](https://docs.opencomputer.dev/agents/overview)

[Deploy to OpenComputer →](https://app.opencomputer.dev/new?repository-url=https%3A%2F%2Fgithub.com%2Fdiggerhq%2Fopencomputer-example-pr-review)

## How it works

```text
Expand Down
15 changes: 15 additions & 0 deletions oc-template.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
schema = 1

[template]
name = "Pull Request Reviewer"
description = "Review GitHub pull requests for correctness and post comments only when explicitly requested."
documentation = "https://docs.opencomputer.dev/agents/examples/pr-review"
default_project_name = "pr-review-agent"

[template.first_run]
agent = "pr-review"
prompt = "Review diggerhq/opencomputer-example-pr-review#2 as a dry run."

[template.secrets.GITHUB_TOKEN]
description = "Fine-grained GitHub token with Contents read and Pull requests read/write access."
documentation = "https://github.com/settings/personal-access-tokens"
Loading