Clean up documentation for implicit token
This commit is contained in:
parent
91e634d3e9
commit
0753213107
1 changed files with 2 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ Default `false`.
|
||||||
GitHub API token used by `external-cache` to fetch all available caches.
|
GitHub API token used by `external-cache` to fetch all available caches.
|
||||||
Not used when external cache is disabled.
|
Not used when external cache is disabled.
|
||||||
|
|
||||||
Default `""`.
|
Default [`${{ github.token }}`][5].
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
@ -74,7 +74,6 @@ Default `""`.
|
||||||
disk-cache: true
|
disk-cache: true
|
||||||
external-cache: true
|
external-cache: true
|
||||||
repository-cache: true
|
repository-cache: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Separate disk cache between workflows
|
### Separate disk cache between workflows
|
||||||
|
|
@ -92,10 +91,10 @@ Default `""`.
|
||||||
with:
|
with:
|
||||||
external-cache: |
|
external-cache: |
|
||||||
npm: package-lock.json
|
npm: package-lock.json
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
[1]: https://github.com/bazelbuild/bazelisk
|
[1]: https://github.com/bazelbuild/bazelisk
|
||||||
[2]: https://bazel.build/remote/caching#disk-cache
|
[2]: https://bazel.build/remote/caching#disk-cache
|
||||||
[3]: https://docs-staging.bazel.build/2338/versions/main/guide.html#the-repository-cache
|
[3]: https://docs-staging.bazel.build/2338/versions/main/guide.html#the-repository-cache
|
||||||
[4]: https://bazel.build/run/bazelrc
|
[4]: https://bazel.build/run/bazelrc
|
||||||
|
[5]: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue