question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support comment `--update` with default `GITHUB_TOKEN`

See original GitHub issue

CML 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
dacbdcommented, Aug 5, 2022

Again, espescially for the github api, comment on an issue differs from a comment on a commit.

There’s also an action for creating commit comments that also doesn’t seem to require a PAT.

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found