Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc question about using PAT #376

Open
Youssef1313 opened this issue Jan 11, 2025 · 1 comment
Open

Doc question about using PAT #376

Youssef1313 opened this issue Jan 11, 2025 · 1 comment

Comments

@Youssef1313
Copy link

In README:

You can create and update comments in another repository by using a PAT instead of GITHUB_TOKEN. The user associated with the PAT must have write access to the repository.

If I'm using a PAT of my account, why do I have to have write access to the repo if I can generally add comments on any public repos as long as the conversation isn't locked?

@peter-evans
Copy link
Owner

If I'm using a PAT of my account, why do I have to have write access to the repo if I can generally add comments on any public repos as long as the conversation isn't locked?

I can't remember if I've ever tested whether it works to use a PAT to add comments on a repository that I don't have write access to. 🤔
Assuming it doesn't work, my guess would be that its an anti-abuse mechanism. I'm really not sure, though.

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

No branches or pull requests

2 participants