Skip to content

Commit

Permalink
Default token, update README (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
g1stavo authored Jul 14, 2020
1 parent 2db9016 commit 4bbca30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If `reviewers` or `team-reviewers` are not set, the Action will only auto assign

| Name | Description | Example |
| --- | --- | --- |
| `token` | **Required** A `repo` scoped personal access token. [Why](https://github.com/peter-evans/create-pull-request/issues/155#issuecomment-611904487). | ${{ secrets.GH_TOKEN }} |
| `token` | **Required if using team-reviewers** A `repo` scoped personal access token. [Why](https://github.com/peter-evans/create-pull-request/issues/155#issuecomment-611904487). [Create one here](https://github.com/settings/tokens/new). | ${{ secrets.GH_TOKEN }} |
| `reviewers` | GitHub usernames, separated by comma | user1,user2,user3
| `team-reviewers` | Organization team names, separated by comma | backend

Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ branding:
inputs:
token:
description: 'GitHub token'
required: true
default: ${{ github.token }}
required: false
reviewers:
description: 'GitHub usernames'
required: false
Expand Down

0 comments on commit 4bbca30

Please sign in to comment.