diff --git a/README.md b/README.md index 7445728..88205a2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/oc-template.toml b/oc-template.toml new file mode 100644 index 0000000..432dc19 --- /dev/null +++ b/oc-template.toml @@ -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"