Can we comment to public repos using fine grained access token #57746
Replies: 2 comments 2 replies
-
Hope this helps, I did a search and found this: Generate a Personal Access Token: Go to your GitHub account settings. Use an HTTP library or a tool like cURL to send a POST request to the GitHub API endpoint for creating a comment on a pull request. curl -X POST Make sure you have the necessary permissions to create comments on pull requests in the repository. If you're using a token generated from an account with sufficient access, this shouldn't be an issue. Remember to handle the API response to check for any errors or validation issues. You can find more information about the GitHub API and specific endpoints in the GitHub Developer documentation (https://docs.github.com/en/rest). if you just want to make a pull request, fork the repository and click pull request |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I am not able to create comment on pull request using fine grained access token, Can somebody please help me how can I achieve this.
Beta Was this translation helpful? Give feedback.
All reactions