Skip to content

Commit

Permalink
Merge pull request #77 from ybiquitous/set-default-github-token
Browse files Browse the repository at this point in the history
Set `github_token` default value
  • Loading branch information
haya14busa authored Apr 13, 2022
2 parents 2509d79 + 5a14fab commit 65f5c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ It's the same as the `-filter-mode` flag of reviewdog.

### `github_token`

**Required**. Must be in form of `github_token: ${{ secrets.github_token }}`'.
**Required**. Default is `${{ github.token }}`.

### `level`

Expand Down Expand Up @@ -87,7 +87,6 @@ jobs:
- name: stylelint
uses: reviewdog/action-stylelint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Change reporter.
stylelint_input: '**/*.css'
```
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ inputs:
github_token:
description: 'GITHUB_TOKEN.'
required: true
default: ${{ github.token }}
level:
description: 'Report level for reviewdog [info,warning,error]'
default: 'error'
Expand Down

0 comments on commit 65f5c3e

Please sign in to comment.