Skip to content

Commit 3241f6b

Browse files
authored
docs: fix typos (anomalyco#3454)
1 parent 2c792f1 commit 3241f6b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

github/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ To test locally:
104104
- `MODEL`: The model used by opencode. Same as the `MODEL` defined in the GitHub workflow.
105105
- `ANTHROPIC_API_KEY`: Your model provider API key. Same as the keys defined in the GitHub workflow.
106106
- `GITHUB_RUN_ID`: Dummy value to emulate GitHub action environment.
107-
- `MOCK_TOKEN`: A GitHub persontal access token. This token is used to verify you have `admin` or `write` access to the test repo. Generate a token [here](https://github.com/settings/personal-access-tokens).
107+
- `MOCK_TOKEN`: A GitHub personal access token. This token is used to verify you have `admin` or `write` access to the test repo. Generate a token [here](https://github.com/settings/personal-access-tokens).
108108
- `MOCK_EVENT`: Mock GitHub event payload (see templates below).
109109
- `/path/to/opencode`: Path to your cloned opencode repo. `bun /path/to/opencode/github/index.ts` runs your local version of `opencode`.
110110

@@ -118,7 +118,7 @@ Replace:
118118
119119
- `"owner":"sst"` with repo owner
120120
- `"repo":"hello-world"` with repo name
121-
- `"actor":"fwang"` with the GitHub username of commentor
121+
- `"actor":"fwang"` with the GitHub username of commenter
122122
- `"number":4` with the GitHub issue id
123123
- `"body":"hey opencode, summarize thread"` with comment body
124124

packages/web/src/content/docs/github.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Or you can set it up manually.
8080

8181
- `model`: The model to use with opencode. Takes the format of `provider/model`. This is **required**.
8282
- `share`: Whether to share the opencode session. Defaults to **true** for public repositories.
83-
- `token`: Optional GitHub access token for performing operations such as creating comments, commiting changes, and opening pull requests. By default, opencode uses the installation access token from the opencode GitHub App, so commits, comments, and pull requests appear as coming from the app.
83+
- `token`: Optional GitHub access token for performing operations such as creating comments, committing changes, and opening pull requests. By default, opencode uses the installation access token from the opencode GitHub App, so commits, comments, and pull requests appear as coming from the app.
8484

8585
Alternatively, you can use the GitHub Action runner's [built-in `GITHUB_TOKEN`](https://docs.github.com/en/actions/tutorials/authenticate-with-github_token) without installing the opencode GitHub App. Just make sure to grant the required permissions in your workflow:
8686

packages/web/src/content/docs/gitlab.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Check out the [**GitLab docs**](https://docs.gitlab.com/user/duo_agent_platform/
7979
<important>
8080
Please use the glab CLI to access data from GitLab. The glab CLI has already been authenticated. You can run the corresponding commands.
8181
82-
If you are asked to summarise an MR or issue or asked to provide more information then please post back a note to the MR/Issue so that the user can see it.
82+
If you are asked to summarize an MR or issue or asked to provide more information then please post back a note to the MR/Issue so that the user can see it.
8383
You don't need to commit or push up changes, those will be done automatically based on the file changes you make.
8484
</important>
8585
"

0 commit comments

Comments
 (0)