Unverified Commit 829a0c62 authored by Alexander Entinger's avatar Alexander Entinger Committed by GitHub

Use authenticated API requests in "Compile Examples" CI workflow

The arduino/compile-sketches 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.

There were a couple workflow runs recently (1, 2) that failed due to rate limiting. Authenticated API requests are given a more generous API request allowance, so providing the action with the automatically generated GitHub access token should prevent this from happening again.
parent d92b39ec
......@@ -110,6 +110,7 @@ jobs:
- name: Compile examples
uses: arduino/actions/libraries/compile-examples@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- name: Adafruit MQTT Library
......@@ -149,4 +150,4 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: size-deltas-reports
path: size-deltas-reports
\ No newline at end of file
path: size-deltas-reports
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment