Skip to content

Commit

Permalink
Only use remote cache for main repository, not forks (#7112)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar authored May 28, 2024
1 parent a9b4fad commit 1a8c2fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_build_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
GCLOUD_SERVICE_KEY: ${{ secrets.gcloud-service-key }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/default_credentials.json
BAZEL_JOBS: 16
BAZEL_REMOTE_CACHE: 1
BAZEL_REMOTE_CACHE: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Setup gcloud
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build_torch_xla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
GCLOUD_SERVICE_KEY: ${{ secrets.gcloud-service-key }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/default_credentials.json
BAZEL_JOBS: 16
BAZEL_REMOTE_CACHE: 1
BAZEL_REMOTE_CACHE: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
BUILD_CPP_TESTS: 1
steps:
- name: Setup gcloud
Expand Down

0 comments on commit 1a8c2fe

Please sign in to comment.