Skip to content

Commit 9dc846d

Browse files
committed
(actions) add github.com to known_hosts manually
1 parent 995377c commit 9dc846d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
GITHUB_REF=${GITHUB_REF#refs/heads/}
2222
GITHUB_REF=${GITHUB_REF#refs/tags/}
2323
BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF}}
24+
mkdir -p ${HOME}/.ssh
25+
ssh-keyscan -t rsa -H "github.com" 2>&1 | tee -a "${HOME}"/.ssh/known_hosts
2426
.ci/install.bash --branch=$BRANCH
2527
- name: Script
2628
run: .ci/script.bash

0 commit comments

Comments
 (0)