Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip writing to the remote cache with no API key
For foreign PRs (e.g. dependabot) access to the repository secrets is not permitted, so the API key for Buildbuddy ends up as empty. This leads to an error later: ``` WARNING: BES was not properly closed ERROR: The Build Event Protocol upload failed: Not retrying publishBuildEvents, no more attempts left: status='Status{code=UNAUTHENTICATED, description=failed to parse API key: missing API Key, cause=null}' UNAUTHENTICATED: UNAUTHENTICATED: failed to parse API key: missing API Key UNAUTHENTICATED: UNAUTHENTICATED: failed to parse API key: missing API Key ```
- Loading branch information