How to fix your data builds after Github’s breaking change on 11 January 2022
GitHub has enforced a new security policy as of 11 January 2022 which may prevent your data builds from running. To see whether you are affected by the problem, take a look at the scripts/requirements.txt
file in your data repository. (For example, here is this file in the data starter repository).
If you see any lines that start with…
git+git
…then you will need to change them. Instead of git+git
you should change them to git+https
. Here is a step-by-step for doing that:
- Login to GitHub.com
- Go to your data repository and navigate to the
scripts
folder, and then click onrequirements.txt
. - Edit the file by clicking the pencil icon
- Change any occurrences of
git+git
togit+https
. - At the bottom press “Propose changes” and then “Create pull request”
- Wait for any automated tests to complete, and then press “Merge pull request”.