gh: Make sure ssh key has right perms
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2bac7a82..b8d43ff5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -112,7 +112,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Retrieve SSH key
- run: 'echo "$ssh_key" > ssh_key'
+ run: 'echo "$ssh_key" > ssh_key && chmod 600 ssh_key'
env:
ssh_key: ${{ secrets.SSH_KEY }}
