From 3f65d35b114fef49aad4ed64c871f6893ac97d00 Mon Sep 17 00:00:00 2001 From: Andrii Kuteiko Date: Tue, 10 Sep 2024 15:55:22 +0200 Subject: [PATCH] wip --- .github/workflows/build.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b7eb1b..67e4ef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,9 @@ on: push: branches: - master + pull_request: + branches: + - master pull_request_target: types: - opened @@ -17,9 +20,9 @@ jobs: matrix: erlang: - 24.2 - - 25 - - 26 - - 27 + # - 25 + # - 26 + # - 27 runs-on: ubuntu-latest @@ -30,9 +33,16 @@ jobs: - name: Setup SSH run: | set -ex - mkdir -p -m 700 ~/.ssh - ssh-keygen -N '' -f ~/.ssh/id_rsa - ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + + mkdir -p -m 700 /root/.ssh + + echo "Host github.com" > /root/.ssh/config + echo " IdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config + + ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa + + ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts + chmod 600 /root/.ssh/known_hosts - uses: actions/checkout@v3