Add comment to pull request or issue
This actions add a comment to a PR
See demo on this repository
Inputs
comment
Required The comment, that you want to post, any text with a $
will be resolve as a an enviroment variable.
GITHUB_TOKEN
environment variable
A valid github access token
Example usage
uses: jdvr/action-add-comment@master
with:
comment: 'Current build $BUILD_NUMBER has passed ✅'
env:
BUILD_NUMBER: 1234
GITHUB_TOKEN: {{ secrets.GITHUB_TOKEN }}
Features
- Support emoji, markdown and mentions
- Resolves environment variables
Todo
- Update existing comment
- Work with related issues
🚀 Publish
- Change your code
- Build your code:
yarn build
- Commit both,
dits
and changed coded - Generate a release