Skip to content

Commit

Permalink
Update github keys explicitely, webfactory/ssh-agent no longer does it
Browse files Browse the repository at this point in the history
  • Loading branch information
damyan committed Jan 17, 2024
1 parent 55aee3e commit 047ce03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_PRIVATE_KEY }}
Expand Down

0 comments on commit 047ce03

Please sign in to comment.