diff --git a/README.md b/README.md index 74ac9f7..1ef3520 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,5 @@ This action can be used to post a dynamic comment on a github PR uses: JoseThen/comment-pr@v1 with: comment: 'This PR is the bees knees!' + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` diff --git a/action.yml b/action.yml index 25b8645..d81f716 100644 --- a/action.yml +++ b/action.yml @@ -8,6 +8,9 @@ inputs: description: 'Comment you would like to post' required: true default: '' + GITHUB_TOKEN: + description: 'Github Token for authentication' + required: true runs: using: 'node12' main: 'dist/index.js'