tmux-plugins / tpm

Tmux Plugin Manager
MIT License
12.3k stars 431 forks source link

Running `~/.tmux/plugins/tpm/bin/install_plugins` hangs when running in Github Actions #219

Open rahul0705 opened 2 years ago

rahul0705 commented 2 years ago

It looks like when trying to install plugins inside of a macos-latest (no issues on ubuntu-latest) environment within Github Actions it hangs on the cloning step of installing the listed plugins.

tmux.conf: https://github.com/rahul0705/dotfiles/blob/ci/terminals/tmux/tmux.conf

Installation script: https://github.com/rahul0705/dotfiles/blob/ci/meta/configs/tmux.yml

Example failure: https://github.com/rahul0705/dotfiles/runs/5715115210?check_suite_focus=true

rahul0705 commented 2 years ago

After further investigation, the offending problem seems to be https://github.com/tmux-plugins/tpm/blob/master/scripts/install_plugins.sh#L34 where the git::@ should be removed

geoffreyvanwyk commented 7 months ago

I have the same problem when using Ansible. When I run the command directly from the command-line, the following error appears:

Installing "tmux-which-key"
The authenticity of host 'github.com (20.87.245.0)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])?

This means it is unnecessarily connecting over SSH, when just HTTPS would do.