Skip to content
Discussion options

You must be logged in to vote

It will write to the cache in whichever repo is running the workflow. To see which it is, find which repo (fork or upstream) that has the run in the Actions tab. Here’s what I saw with some testing:

  1. If you make changes within a fork (e.g., a PR merging from myfork:mybranchmyfork:main), the Action runs within the fork and the cache says within the fork.

  2. If you send a PR to the upstream repo (e.g., myfork:mybranchupstream:main), then the Action runs within the upstream repo and consequently the cache is created within the upstream repo.

In case there are concerns about case #2, note that a maintainer in the upstream repo must first approve the PR before the workflow will run - A…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements
2 participants