Same cache folder prevents running the action on same VM using different runners #1196
Open
2 of 5 tasks
Labels
bug
Something isn't working
Description:
Currently cache state directory is being hardcoded to the same
56acbeaa-1fef-4c79-8f84-7565e560fb03
value.This causes permission issues in the following situation:
This causes state.txt to be owned by the user context of the first runner which executes the Github action preventing others runners to be able to use the state cache functionality.
One potential solution is to the STALE_DIR folder name to be a hash of the repository name. This will ensure that every repository will get its own state.
stale/src/classes/state/state-cache-storage.ts
Line 12 in f04443d
Action version:
Platform:
Runner type:
Repro steps:
See description.
Expected behavior:
See description.
Actual behavior:
See description.
The text was updated successfully, but these errors were encountered: