Skip to content

Commit

Permalink
Addition of GITHUB_TOKEN as input
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseThen committed May 20, 2020
1 parent 33e3a39 commit 0e7184d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
```
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 0e7184d

Please sign in to comment.