diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24a89bb..c5d1951 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,11 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' + - name: Update github keys + run: | + mkdir -p ~/.ssh + for key in rsa ecdsa ed25519; do + ssh-keyscan -t $key github.com >> ~/.ssh/known_hosts - uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: ${{ secrets.BOT_PRIVATE_KEY }}