Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit 4ed3675

Browse files
authored
fix: permissions for directory (#1125)
* fix: check test directory permissions * fix: update directory permissions in test workflow * fix: version * fix: add permission in workspace * fix: action SC2046
1 parent 73b8dc8 commit 4ed3675

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ jobs:
137137
yarn config set npmAuthToken $NODE_AUTH_TOKEN
138138
139139
- name: Accept directory permissions
140-
run: sudo chown -R $USER:$USER $HOME
141-
140+
run: |
141+
sudo chown -R "$(id -u)":"$(id -g)" $HOME
142+
sudo chown -R "$(id -u)":"$(id -g)" $GITHUB_WORKSPACE
143+
142144
- run: yarn install
143145

144146
- name: Set deal-ts-clients version

0 commit comments

Comments
 (0)