Skip to content

Commit

Permalink
feat: use workflow GitHub token as default GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
KeisukeYamashita authored and bubkoo committed Feb 13, 2023
1 parent 9e11089 commit 4a90331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
steps:
- uses: wow-actions/welcome@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FIRST_ISSUE: |
👋 @{{ author }}
Thanks for opening your first issue here! Be sure to follow the issue template!
Expand All @@ -54,7 +53,7 @@ Various inputs are defined to let you configure the action:
| Name | Description | Default |
| --- | --- | --- |
| `GITHUB_TOKEN` | The GitHub token for authentication. | N/A |
| `GITHUB_TOKEN` | The GitHub token for authentication. | `${{ github.token }}` |
| `FIRST_ISSUE` <br> or <br> `FIRST_ISSUE_COMMENT` | Comment to be posted to on first time issues. | |
| `FIRST_ISSUE_REACTIONS` | Reactions to be add to comment on first time issues. | |
| `FIRST_PR` <br> or <br> `FIRST_PR_COMMENT` | Comment to be posted to on PRs from first time contributors in your repository. | |
Expand Down Expand Up @@ -91,7 +90,6 @@ jobs:
steps:
- uses: wow-actions/welcome@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FIRST_ISSUE_REACTIONS: '+1, hooray, rocket, heart'
FIRST_ISSUE_COMMENT: |
👋 @{{ author }}
Expand All @@ -111,7 +109,6 @@ jobs:
steps:
- uses: wow-actions/welcome@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FIRST_PR_REACTIONS: '+1, hooray, rocket, heart'
FIRST_PR_COMMENT: |
👋 @{{ author }}
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ author: bubkoo <[email protected]>
inputs:
GITHUB_TOKEN:
description: Your GitHub token for authentication.
required: true
required: false
default: ${{ github.token }}

FIRST_ISSUE:
description: Comment to be posted to on first time issues.
Expand Down

0 comments on commit 4a90331

Please sign in to comment.