diff --git a/README.md b/README.md index e7352fb..43e933c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ jobs: ### `github_token` -**Required**. Default is `${{ github.token }}`. +Optional. Default is `${{ github.token }}`. ### `clippy_flags` diff --git a/action.yml b/action.yml index aa5598e..36388c2 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ branding: inputs: github_token: description: "GITHUB_TOKEN." - required: true + required: false default: ${{ github.token }} clippy_flags: description: "clippy flags. (cargo clippy --color never -q --message-format json ``)"