107-systems / CyphalPicoBase-CAN-firmware

Firmware for the OpenCyphalPicoBase board.
https://107-systems.org
MIT License
1 stars 0 forks source link

Configure "Compile Examples" workflow for authenticated API requests #35

Closed aentinger closed 1 year ago

aentinger commented 1 year ago

The GitHub Actions action used in the "Compile Examples" workflow queries the GitHub API for the base ref of the pull request, which is used for the memory deltas determination.

GitHub does rate limiting of API requests and if the limit is exceeded, a spurious failure of the workflow run will occur, as was happening previously.

Authenticated API requests are given a more generous API request allowance, so providing the action with the automatically generated GitHub access token stored in to use for the API requests should prevent any further workflow run failures caused by rate limiting.