I have been using GitHub actions for quite some time but today my deployments started failing. Below is the error from GitHub action logs
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git
Directory: /home/runner/work/stackstream-fe/stackstream-fe
Output:
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Upon investigation, it appears that the below section in my yml file is causing the issue.
- name: Installing modules
run: yarn install
Answer:
Try using the following command before installing:
git config --global url."https://".insteadOf git://
better use the reduced versionĀ git config --global url."https://github.com/".insteadOf git://github.com/