mirror of
https://github.com/giraffate/clippy-action.git
synced 2024-11-21 15:39:32 +01:00
Merge pull request #42 from JohnTitor/ght-opt
Make GitHub token optional
This commit is contained in:
commit
0076c0c7bd
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ jobs:
|
||||||
|
|
||||||
### `github_token`
|
### `github_token`
|
||||||
|
|
||||||
**Required**. Default is `${{ github.token }}`.
|
Optional. Default is `${{ github.token }}`.
|
||||||
|
|
||||||
### `clippy_flags`
|
### `clippy_flags`
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ branding:
|
||||||
inputs:
|
inputs:
|
||||||
github_token:
|
github_token:
|
||||||
description: "GITHUB_TOKEN."
|
description: "GITHUB_TOKEN."
|
||||||
required: true
|
required: false
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
clippy_flags:
|
clippy_flags:
|
||||||
description: "clippy flags. (cargo clippy --color never -q --message-format json `<clippy_flags>`)"
|
description: "clippy flags. (cargo clippy --color never -q --message-format json `<clippy_flags>`)"
|
||||||
|
|
Loading…
Reference in a new issue