From 22aff91628f0eed445c0fe46a4acddcaed467cb2 Mon Sep 17 00:00:00 2001 From: Pavel Iakovenko Date: Sat, 28 Feb 2026 09:14:07 -0500 Subject: [PATCH 1/4] Update action.yml --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 222bbf6..ad21cad 100644 --- a/action.yml +++ b/action.yml @@ -34,6 +34,13 @@ runs: REPO_NWO: ${{ github.repository }} GH_TOKEN: ${{ github.token }} + - name: Start SSH + if: ${{}} + shell: bash + run: | + sudo mkdir -p /run/sshd + sudo /usr/sbin/sshd -D & + - name: Add SSH keys shell: bash run: | From 5d45c7c83db9006d625d44a2ae5becf67faafe39 Mon Sep 17 00:00:00 2001 From: Pavel Iakovenko Date: Sat, 28 Feb 2026 09:24:25 -0500 Subject: [PATCH 2/4] Update action.yml --- action.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index ad21cad..bc4a6a9 100644 --- a/action.yml +++ b/action.yml @@ -35,12 +35,14 @@ runs: GH_TOKEN: ${{ github.token }} - name: Start SSH - if: ${{}} shell: bash run: | - sudo mkdir -p /run/sshd - sudo /usr/sbin/sshd -D & - + if ! pgrep sshd > /dev/null 2>&1; then + echo "Starting SSH..." + sudo mkdir -p /run/sshd + sudo /usr/sbin/sshd -D & + fi + - name: Add SSH keys shell: bash run: | From 6c3b736a6745452e444657e3c854e9ab75e242c7 Mon Sep 17 00:00:00 2001 From: Pavel Iakovenko Date: Sat, 28 Feb 2026 09:24:52 -0500 Subject: [PATCH 3/4] Add ubuntu-slim to workflow OS matrix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac61079..95735db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-slim, ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v6 From ab7d5a34fe6c9e80ea13cde425799d85b73670ce Mon Sep 17 00:00:00 2001 From: Pavel Iakovenko Date: Sat, 28 Feb 2026 09:29:54 -0500 Subject: [PATCH 4/4] Start SSH only if runner OS is Linux Add conditional check to start SSH only on Linux runners. --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index bc4a6a9..86e45bb 100644 --- a/action.yml +++ b/action.yml @@ -35,6 +35,7 @@ runs: GH_TOKEN: ${{ github.token }} - name: Start SSH + if: ${{ runner.os == 'Linux' }} shell: bash run: | if ! pgrep sshd > /dev/null 2>&1; then