using `github.token` with `@actions/github`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
in the documentation it is specified that actions have access to the token using the token property in the github context, even without the user passing it as an input:
https://docs.github.com/en/actions/tutorials/authenticate-with-github_token#using-the-github_token-in-a-workflow
How would it be possible to access this using @actions/github, there is not property exported there?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the @actions/github entry point and compare its available exports with the linked GitHub Actions documentation about the github.token context. Clarify whether the token is accessible through @actions/github or must be passed separately, and document the supported usage and any limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100