Skip to content

docs: clarify github token configuration#23488

Open
jjangga0214 wants to merge 2 commits intoanomalyco:devfrom
jjangga0214:docs-clarify-github-token-config
Open

docs: clarify github token configuration#23488
jjangga0214 wants to merge 2 commits intoanomalyco:devfrom
jjangga0214:docs-clarify-github-token-config

Conversation

@jjangga0214
Copy link
Copy Markdown

@jjangga0214 jjangga0214 commented Apr 20, 2026

Issue for this PR

Closes #23487

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Updates the GitHub docs to match the current action interface. The docs previously referred to a token option and showed github_token in the workflow example, but the action uses use_github_token and reads the token from GITHUB_TOKEN.

How did you verify your code works?

Compared the docs against github/action.yml and packages/opencode/src/cli/cmd/github.ts to confirm the current action inputs and environment variable handling.

Screenshots / recordings

Not applicable.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search results, here are potentially related PRs:

Related PRs Found:

  1. PR #23475 - "fix(installation): respect GITHUB_TOKEN/GH_TOKEN for GitHub API release check"

    • Related because it also deals with GITHUB_TOKEN configuration
  2. PR #17225 - "fix(github): skip assertPermissions when use_github_token is true"

  3. PR #18881 - "docs(web): clarify GitHub token usage"

    • Related as another docs PR about GitHub token usage

These PRs are contextually related to the GitHub token configuration topic, though they appear to address different aspects. PR #23488 is specifically documentation clarification, while the others are fixes or other docs improvements around the same feature area.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: clarify GitHub action token configuration in docs

1 participant