Close ssh-add stdin for pull requests.
Robpol86 opened this issue · 2 comments
Robpol86 commented
Change line in docs to eval $(ssh-agent -s); ssh-add docs/key <&-
First discovered in: Robpol86/terminaltables#32
This probably happens because during pull requests there is no encrypted env variables so docs/key is empty or invalid. Thus ssh-add prompts for a password.
Robpol86 commented
Closing stdin didn't actually do anything. Running ssh-add conditionally instead.