You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Comment on Issue
1.0.2alpha1
Pre-release
A GitHub action that comments with a given message the pull request linked to the pushed branch. You can even put dynamic data thanks to Contexts and expression syntax.
on: pull_request
jobs:
example_comment_pr:
runs-on: ubuntu-latest
name: An example job to comment a PR
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Comment PR
uses: thollander/actions-comment-pull-request@master
with:
message: 'Example of message !'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
See examples in opened PR !
ℹ️ : Make sure to listen to pull_request
events.
Otherwise, it will not be able to comment the PR and you'll have an error.
The build steps transpiles the src/main.ts
to lib/main.js
which is used in the Docker container.
It is handled by Typescript compiler.
$ npm run build