Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 829a0c6

Browse filesBrowse files
authored
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.
1 parent d92b39e commit 829a0c6
Copy full SHA for 829a0c6

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎.github/workflows/compile-examples.yml

Copy file name to clipboardExpand all lines: .github/workflows/compile-examples.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
- name: Compile examples
111111
uses: arduino/actions/libraries/compile-examples@master
112112
with:
113+
github-token: ${{ secrets.GITHUB_TOKEN }}
113114
fqbn: ${{ matrix.board.fqbn }}
114115
libraries: |
115116
- name: Adafruit MQTT Library
@@ -149,4 +150,4 @@ jobs:
149150
uses: actions/upload-artifact@v1
150151
with:
151152
name: size-deltas-reports
152-
path: size-deltas-reports
153+
path: size-deltas-reports

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.