Skip to content

Commit bcf8304

Browse files
committed
Actions (Tangled Mirror): SSH key needs stricter permissions before use
1 parent 9b08483 commit bcf8304

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tangled-mirror.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
run: git remote add tangled $TANGLED_REPO_URL
2828

2929
- name: Decode SSH key
30-
run: echo $TANGLED_SSH_KEY | base64 --decode > "$RUNNER_TEMP/ssh.key"
30+
run: |
31+
echo $TANGLED_SSH_KEY | base64 --decode > "$RUNNER_TEMP/ssh.key"
32+
chmod 600 "$RUNNER_TEMP/ssh.key"
3133
3234
- name: Push Repo to Mirror
3335
run: |

0 commit comments

Comments
 (0)