diff options
| author | Adam <[email protected]> | 2026-02-10 13:59:14 -0600 |
|---|---|---|
| committer | opencode <[email protected]> | 2026-02-10 20:22:30 +0000 |
| commit | fd5531316f858b77274e26975796aec41ba5128c (patch) | |
| tree | 6337bc388da712e35b24e3bf6bdf903b21cecfa4 /packages/web/src/content/docs/ko/github.mdx | |
| parent | fbc41475b403a23f004f63289b264c224b9d6b2f (diff) | |
| download | opencode-fd5531316f858b77274e26975796aec41ba5128c.tar.gz opencode-fd5531316f858b77274e26975796aec41ba5128c.zip | |
fix(docs): locale translations
Diffstat (limited to 'packages/web/src/content/docs/ko/github.mdx')
| -rw-r--r-- | packages/web/src/content/docs/ko/github.mdx | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/packages/web/src/content/docs/ko/github.mdx b/packages/web/src/content/docs/ko/github.mdx index c88317d43..7a6f730c5 100644 --- a/packages/web/src/content/docs/ko/github.mdx +++ b/packages/web/src/content/docs/ko/github.mdx @@ -39,38 +39,38 @@ GitHub 앱을 설치하고 워크플로를 만들고 비밀을 설정할 수 있 저장소에 `.github/workflows/opencode.yml`에 다음 작업 흐름 파일을 추가합니다. 적절한 `model`를 설정하고 `env`의 API 키가 필요합니다. ```yml title=".github/workflows/opencode.yml" {24,26} -name: opencode - -on: - issue_comment: - types: [created] - pull_request_review_comment: - types: [created] - -jobs: - opencode: - if: | - contains(github.event.comment.body, '/oc') || - contains(github.event.comment.body, '/opencode') - runs-on: ubuntu-latest - permissions: - id-token: write - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 1 - persist-credentials: false - - - name: Run opencode - uses: anomalyco/opencode/github@latest - env: - ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - with: - model: anthropic/claude-sonnet-4-20250514 - # share: true - # github_token: xxxx -``` + name: opencode + + on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + + jobs: + opencode: + if: | + contains(github.event.comment.body, '/oc') || + contains(github.event.comment.body, '/opencode') + runs-on: ubuntu-latest + permissions: + id-token: write + steps: + - name: Checkout repository + uses: actions/checkout@v6 + with: + fetch-depth: 1 + persist-credentials: false + + - name: Run OpenCode + uses: anomalyco/opencode/github@latest + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + with: + model: anthropic/claude-sonnet-4-20250514 + # share: true + # github_token: xxxx + ``` 3. ** 비밀의 API 키 저장 ** @@ -89,12 +89,12 @@ jobs: 대안으로, GitHub Action runner의 [붙박이 `GITHUB_TOKEN`](https://docs.github.com/en/actions/tutorials/authenticate-with-github token)을 사용하여 opencode GitHub 앱을 설치하지 않고 사용할 수 있습니다. 워크플로우에서 필요한 권한을 부여하는 것을 확인하십시오. ```yaml -permissions: - id-token: write - contents: write - pull-requests: write - issues: write -``` + permissions: + id-token: write + contents: write + pull-requests: write + issues: write + ``` 또한 [개인 액세스 토큰](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)(PAT)를 사용할 수 있습니다. @@ -118,7 +118,7 @@ opencode는 다음 GitHub 이벤트에 의해 트리거 될 수 있습니다: 자동화된 작업을 수행하는 일정에 opencode를 실행: ```yaml title=".github/workflows/opencode-scheduled.yml" -name: Scheduled opencode Task +name: Scheduled OpenCode Task on: schedule: @@ -138,7 +138,7 @@ jobs: with: persist-credentials: false - - name: Run opencode + - name: Run OpenCode uses: anomalyco/opencode/github@latest env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} @@ -277,8 +277,8 @@ GitHub에서 opencode를 사용할 수있는 몇 가지 예입니다. GitHub 문제에서 이 의견 추가. ``` -/opencode explain this issue -``` + /opencode explain this issue + ``` opencode는 모든 코멘트를 포함하여 전체 스레드를 읽고, 명확한 설명과 대답. @@ -287,8 +287,8 @@ opencode는 모든 코멘트를 포함하여 전체 스레드를 읽고, 명확� GitHub 문제에서: ``` -/opencode fix this -``` + /opencode fix this + ``` opencode는 새로운 지점을 만들 것이며 변경 사항을 실행하고 PR을 변경합니다. @@ -297,8 +297,8 @@ opencode는 새로운 지점을 만들 것이며 변경 사항을 실행하고 P GitHub PR에 다음 댓글을 남겨주세요. ``` -Delete the attachment from S3 when the note is removed /oc -``` + Delete the attachment from S3 when the note is removed /oc + ``` opencode는 요청한 변경을 구현하고 동일한 PR에 커밋합니다. @@ -307,9 +307,9 @@ opencode는 요청한 변경을 구현하고 동일한 PR에 커밋합니다. PR의 "Files" 탭의 코드 라인에 직접 댓글을 남겨주세요. opencode는 파일, 줄 번호 및 diff 컨텍스트를 자동으로 감지하여 정확한 응답을 제공합니다. ``` -[Comment on specific lines in Files tab] -/oc add error handling here -``` + [Comment on specific lines in Files tab] + /oc add error handling here + ``` 특정 라인에 대한 의견이 있을 때, opencode는 다음과 같습니다. |
