support comment `--update` with default `GITHUB_TOKEN`
See original GitHub issueCML comment --update
requires a user-defined PAT. Can we change the implementation to work with the default token too?
Would help a lot with user-friendliness of #1017.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Automatic token authentication - GitHub Docs
If the default permissions for the GITHUB_TOKEN are restrictive, you may have to elevate the permissions to allow some actions and commands to...
Read more >Create or Update Comment · Actions · GitHub Marketplace
A GitHub action to create or update an issue or pull request comment. This action was created to help facilitate a GitHub Actions...
Read more >Creating a personal access token - GitHub Docs
You can create a personal access token to use in place of a password with the command ... GitHub currently supports two types...
Read more >Updating your GitHub access credentials
Updating your GitHub access credentials · In this article · Requesting a new password · Changing an existing password · Updating your access...
Read more >Token expiration and revocation - GitHub Docs
User token revoked due to GitHub App configuration ... User-to-server tokens created by a GitHub App will expire after eight hours by default....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
From https://github.com/iterative/cml.dev/pull/271#discussion_r925524184
The one thing I could see in the code is that
create-or-update-comment
gets itsoctokit
through@actions/github
’score.getOctokit
while CML’s GitHub driver gets it through@octokit/rest
’sOctokit
constructor, seemingly in order to add the throttling plugin.Indeed @rogermparent it looks like you are correct and I would say that it appears
cml send-comment
works fine with the default github token