From 0f71956d6df9c241b205ae3c68e38dfd98f73d68 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Sat, 2 Mar 2024 10:31:00 +0000 Subject: [PATCH] build: Use authentication token to avoid GitHub rate limit The workers share a common public IP address and often GitHub will reject attempts to access the API due to exceeding the anonymous rate limit threshold. Signed-off-by: Rob Bradford --- .github/workflows/integration-rate-limiter.yaml | 2 ++ .github/workflows/integration-sgx.yaml | 2 ++ .github/workflows/integration-vfio.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/integration-rate-limiter.yaml b/.github/workflows/integration-rate-limiter.yaml index dde0c5d17..6e066764b 100644 --- a/.github/workflows/integration-rate-limiter.yaml +++ b/.github/workflows/integration-rate-limiter.yaml @@ -8,6 +8,8 @@ jobs: build: name: Tests (Rate-Limiter) runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'jammy-rate-limiter' }} + env: + AUTH_DOWNLOAD_TOKEN: ${{ secrets.AUTH_DOWNLOAD_TOKEN }} steps: - name: Fix workspace permissions if: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/integration-sgx.yaml b/.github/workflows/integration-sgx.yaml index bd5a78334..b8e4d7054 100644 --- a/.github/workflows/integration-sgx.yaml +++ b/.github/workflows/integration-sgx.yaml @@ -8,6 +8,8 @@ jobs: build: name: Tests (SGX) runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'jammy-sgx' }} + env: + AUTH_DOWNLOAD_TOKEN: ${{ secrets.AUTH_DOWNLOAD_TOKEN }} steps: - name: Fix workspace permissions if: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/integration-vfio.yaml b/.github/workflows/integration-vfio.yaml index b41f227e3..196b1d430 100644 --- a/.github/workflows/integration-vfio.yaml +++ b/.github/workflows/integration-vfio.yaml @@ -8,6 +8,8 @@ jobs: build: name: Tests (VFIO) runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'jammy-vfio' }} + env: + AUTH_DOWNLOAD_TOKEN: ${{ secrets.AUTH_DOWNLOAD_TOKEN }} steps: - name: Fix workspace permissions if: ${{ github.event_name != 'pull_request' }}