From fdfa21a05a17cda2f3b280e3a75a8b9922013238 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Wed, 21 Dec 2022 12:18:35 -0500 Subject: [PATCH 1/5] Try to avoid rate limits in CI --- .github/actions/setup/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index b30a14e7b..31aa480d1 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -9,6 +9,8 @@ runs: using: 'composite' steps: - uses: volta-cli/action@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} env: ACTIONS_STEP_DEBUG: true - name: Get yarn cache directory path From ea6855bbafc962a4841fb9bbd5b1a3a61e5cc95d Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Wed, 21 Dec 2022 12:31:46 -0500 Subject: [PATCH 2/5] next attempt --- .github/actions/setup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 31aa480d1..8231840f9 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -10,7 +10,7 @@ runs: steps: - uses: volta-cli/action@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ github.token }} env: ACTIONS_STEP_DEBUG: true - name: Get yarn cache directory path From 31e14ec2d8a74fff9805293159f27345e6ebf12e Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Wed, 21 Dec 2022 12:42:14 -0500 Subject: [PATCH 3/5] trying to upgrade --- .github/actions/setup/action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 8231840f9..ef032865e 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -8,9 +8,7 @@ inputs: runs: using: 'composite' steps: - - uses: volta-cli/action@v3 - with: - token: ${{ github.token }} + - uses: volta-cli/action@v4 env: ACTIONS_STEP_DEBUG: true - name: Get yarn cache directory path From 076e6dca70bdbe605868e00a4da4fb8a4e86a5dc Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Wed, 21 Dec 2022 18:12:36 -0500 Subject: [PATCH 4/5] try limiting parallelism --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6243423fd..475e5c8cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: strategy: fail-fast: false + max-parallel: 10 # this is trying to avoid hitting API rate limits when too many tests are hitting the github API at once. matrix: ${{fromJson(needs.preflight.outputs.matrix)}} steps: From 1e29e152acbe1f0fe51dd5c883973e753512854a Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Wed, 21 Dec 2022 18:44:14 -0500 Subject: [PATCH 5/5] maybe we can do more --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 475e5c8cf..d20c8ded6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false - max-parallel: 10 # this is trying to avoid hitting API rate limits when too many tests are hitting the github API at once. + max-parallel: 50 # this is trying to avoid hitting API rate limits when too many tests are hitting the github API at once. matrix: ${{fromJson(needs.preflight.outputs.matrix)}} steps: