Composer installs keep failing

The last few days our build keep failing on Composer install, sometime it goes through but most of the time it fails.
This wasn’t a problem last week, nothing has changed in the travis.yml in between.

  • Installing bower-asset/fontawesome (5.12.1): Cloning 0d1f27efb8
    [RuntimeException]
    Failed to execute git clone --no-checkout ‘git@github.com:FortAwesome/Font-Awesome.git’ ‘/home/travis/build/Elgg/Elgg/vendor/bower-asset/fontawesome’ && cd ‘/home/travis/build/Elgg/Elgg/vendor/bower-asset/fontawesome’ && git remote add composer ‘git@github.com:FortAwesome/Font-Awesome.git’ && git fetch composer && git remote set-url origin ‘git@github.com:FortAwesome/Font-Awesome.git’ && git remote set-url composer ‘git@github.com:FortAwesome/Font-Awesome.git’
    Cloning into ‘/home/travis/build/Elgg/Elgg/vendor/bower-asset/fontawesome’…
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights and the repository exists.

Somehow the issue has been fixed. Now builds continue as usual.

A more detailed report can be found in a composer issue: https://github.com/composer/composer/issues/8710 - Github did mix-up configuration for the rate-limiting these days (and quickly solved it, can happen). My first guess would be that this is related.