From 74a153dcae98c2628e5a847c6679a6c7f2d24087 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 20 Dec 2020 21:43:02 -0800 Subject: [PATCH] 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. --- .github/workflows/compile-examples.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 408f61282..9e872cd5c 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -261,6 +261,7 @@ jobs: ${{ matrix.wan-sketch-paths }} enable-deltas-report: 'true' verbose: 'true' + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Save memory usage change report as artifact uses: actions/upload-artifact@v1