π OpenHands: AI-Driven Development
Fix issue #4113: Document github action (#4124)
OpenHandsc777cfeacfea
diff --git a/docs/modules/usage/getting-started.mdx b/docs/modules/usage/getting-started.mdxindex 7dad34b719..731bc5a830 100644--- a/docs/modules/usage/getting-started.mdx+++ b/docs/modules/usage/getting-started.mdx@@ -32,8 +32,7 @@ docker run -it --pull=always \ghcr.io/all-hands-ai/openhands:0.9```-You can also run OpenHands in a scriptable [headless mode](https://docs.all-hands.dev/modules/usage/how-to/headless-mode),-or as an [interactive CLI](https://docs.all-hands.dev/modules/usage/how-to/cli-mode).+You can also run OpenHands in a scriptable [headless mode](https://docs.all-hands.dev/modules/usage/how-to/headless-mode), as an [interactive CLI](https://docs.all-hands.dev/modules/usage/how-to/cli-mode), or using the [OpenHands GitHub Action](https://docs.all-hands.dev/modules/usage/how-to/github-action).## Setupdiff --git a/docs/modules/usage/how-to/github-action.md b/docs/modules/usage/how-to/github-action.mdnew file mode 100644index 0000000000..102a3ec6aa--- /dev/null+++ b/docs/modules/usage/how-to/github-action.md@@ -0,0 +1,15 @@+# Using the OpenHands GitHub Action++This guide explains how to use the OpenHands GitHub Action, both within the OpenHands repository and in your own projects.++## Using the Action in the OpenHands Repository++To use the OpenHands GitHub Action in the OpenHands repository, an OpenHands maintainer can:++1. Create an issue in the repository.+2. Add the `fix-me` label to the issue.+3. The action will automatically trigger and attempt to resolve the issue.++## Installing the Action in a New Repository++To install the OpenHands GitHub Action in your own repository, follow the [directions in the OpenHands Resolver repo](https://github.com/All-Hands-AI/OpenHands-resolver?tab=readme-ov-file#using-the-github-actions-workflow).diff --git a/docs/sidebars.ts b/docs/sidebars.tsindex 3b4810efe0..396bba8096 100644--- a/docs/sidebars.ts+++ b/docs/sidebars.ts@@ -72,6 +72,10 @@ const sidebars: SidebarsConfig = {type: 'doc',id: 'usage/how-to/headless-mode',},+ {+ type: 'doc',+ id: 'usage/how-to/github-action',+ },{type: 'doc',id: 'usage/how-to/custom-sandbox-guide',