Skip to content

Commit 0650a3c

Browse files
committed
fix(action): Ensure that ssh-agent is running and sets SSH_AUTH_SOCK
Fixes #37. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent a9ebb19 commit 0650a3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ runs:
429429
if: contains(inputs.run, 'scanner')
430430
run: |
431431
echo -e "\e[1;33m Running ORT Scanner... "
432+
eval "$(ssh-agent -s)" \
432433
docker run \
433434
--mount type=bind,source=$HOME,target=/home/ort \
434435
--mount type=tmpfs,target=/tmp \

0 commit comments

Comments
 (0)