Skip to content

Commit

Permalink
Set the default value to 'github_token' input (#33)
Browse files Browse the repository at this point in the history
* Set the default value to 'github_token' input

* Update example config
  • Loading branch information
tomferreira authored Jun 29, 2022
1 parent 2286136 commit d4d76ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
- name: detect-secrets
uses: reviewdog/action-detect-secrets@master
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Change reporter.
```
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Run detect-secrets with reviewdog
description: 🐶 Run detect-secrets with reviewdog on pull requests to improve code review experience.
inputs:
github_token:
description: GITHUB_TOKEN.
required: true
description: GITHUB_TOKEN
default: ${{ github.token }}
name:
description: Report name
default: detect-secrets
Expand Down

0 comments on commit d4d76ba

Please sign in to comment.