Description
Github api limits seem to be reached more and more often, because of all CI jobs that run in parallel, and that makes CI jobs fail more and more often during the docker build
Using GITHUB_TOKEN we can go to 1000 calls per hour, that should be large enough -> https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limits-for-requests-from-github-actions
We need to test and update our calls to Github API to add GITHUB_TOKEN as HTTP header, something like:
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
The neighbors of SuperLinter implemented the way to fix that, but doing authenticated calls to Github API
https://github.com/github/super-linter/blob/main/scripts/install-pwsh.sh
Using docker build action would probably help too and decrease our sh files maintenance