From cab5f557be4542b8274c9477f968984db084b636 Mon Sep 17 00:00:00 2001 From: -akku- <151517253+akku1139@users.noreply.github.com> Date: Thu, 26 Dec 2024 18:54:54 +0900 Subject: [PATCH] key permission --- .github/workflows/sync.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 269170a39..367ae8eb7 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -31,6 +31,7 @@ jobs: cat > /tmp/key.private << EOL ${{ secrets.SYNC_PRIVATE_KEY }} EOL + chmod 600 /tmp/key.private git clone --depth=1 -b upstream \ -c "core.sshCommand=ssh -i /tmp/key.private -F /dev/null" \ 'git@github.com:${{ github.repository }}' .