Skip to content

Commit d598ee9

Browse files
committed
x
1 parent 8c0eb53 commit d598ee9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
steps:
1616
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17-
- name: Check known hosts file
17+
- name: Setup post check of known hosts file
1818
uses: pyTooling/Actions/with-post-step@9ceefdbf5dceae8c441fc393ed82344c7ca8bbdb # v3.1.1
1919
env:
2020
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}
2121
with:
2222
main: |
23-
sh check.sh
23+
sh noop.sh
2424
post: |
2525
sh post_check.sh
2626
- name: Setup SSH key
@@ -29,6 +29,10 @@ jobs:
2929
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
3030
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
3131
log-public-key: false
32+
- name: Check known hosts file
33+
shell: sh
34+
run: |
35+
sh check.sh
3236
- name: Install docker (Missing on MacOS)
3337
if: runner.os == 'macos'
3438
shell: bash

noop.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
3+
exit 0

0 commit comments

Comments
 (0)