Skip to content

Commit 74a153d

Browse files
committed
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 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.
1 parent 182a28a commit 74a153d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/compile-examples.yml

+1
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ jobs:
261261
${{ matrix.wan-sketch-paths }}
262262
enable-deltas-report: 'true'
263263
verbose: 'true'
264+
github-token: ${{ secrets.GITHUB_TOKEN }}
264265

265266
- name: Save memory usage change report as artifact
266267
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)