From 07532131074bc4d254152795347f28c100311b2a Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Mon, 9 Jan 2023 14:34:06 -0800 Subject: [PATCH] Clean up documentation for implicit token --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 73dc980..196a1ab 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Default `false`. GitHub API token used by `external-cache` to fetch all available caches. Not used when external cache is disabled. -Default `""`. +Default [`${{ github.token }}`][5]. ## Examples @@ -74,7 +74,6 @@ Default `""`. disk-cache: true external-cache: true repository-cache: true - token: ${{ secrets.GITHUB_TOKEN }} ``` ### Separate disk cache between workflows @@ -92,10 +91,10 @@ Default `""`. with: external-cache: | npm: package-lock.json - token: ${{ secrets.GITHUB_TOKEN }} ``` [1]: https://github.com/bazelbuild/bazelisk [2]: https://bazel.build/remote/caching#disk-cache [3]: https://docs-staging.bazel.build/2338/versions/main/guide.html#the-repository-cache [4]: https://bazel.build/run/bazelrc +[5]: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context