Skip to content

Commit f6148c3

Browse files
authored
Use authenticated API requests in "Compile Examples" CI workflow (#584)
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 0b60a79 commit f6148c3

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
@@ -263,6 +263,7 @@ jobs:
263263
${{ matrix.wan-sketch-paths }}
264264
enable-deltas-report: 'true'
265265
verbose: 'true'
266+
github-token: ${{ secrets.GITHUB_TOKEN }}
266267

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

0 commit comments

Comments
 (0)