nejczdovc / comment-pr Goto Github PK
View Code? Open in Web Editor NEWGithub action for commenting in the PR
License: MIT License
Github action for commenting in the PR
License: MIT License
The GITHUB_TOKEN
used by this action may not have permission to write to the PR. If that's the case you will see an error like:
Error: Resource not accessible by integration
You can give the the github token extra permissions to allow it to write to the PR. Specifically
permissions:
pull-requests: write
# The contents permission is not specifically required for this action, but it's required to checkout the repo, so most people will want it too.
# contents: read
See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions for more info.
PR comments have a max size of 65KB, see
PR body/Issue comments are still stored in MySQL as a mediumblob with a maximum value length of 262,144. This equals a limit of 65,536 4-byte unicode characters.
When I use this action to post giant comments that exceed the limit, they will fail (by definition). Can you think of ways to work around this work? For example, can this action detect the size of the comment and save the comment in a gist or something and then add a PR comment to link to it? Thoughts?
Right now we are supporting message
input which is ok for simple comments. But we should extend it to support file reads as well so that workflow file is clean.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.