From e94fd0441705cfb9284880d3cb61702734e6c6f9 Mon Sep 17 00:00:00 2001 From: Ian Campbell <142884633+expressvpn-ian-c@users.noreply.github.com> Date: Fri, 31 May 2024 10:22:47 +0100 Subject: [PATCH] GHA: Pass GH token to `earthly/actions-setup` ... this avoids rate-limiting. --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b7bbd5b..12a9930 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,6 +29,7 @@ jobs: - uses: earthly/actions-setup@v1 with: version: ~v0.8 + github-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 - name: Run +${{ matrix.target }} on Earthly satellite run: earthly --ci --org expressvpn --satellite lightway +${{ matrix.target }} @@ -45,6 +46,7 @@ jobs: - uses: earthly/actions-setup@v1 with: version: ~v0.8 + github-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 - name: Run +e2e on Earthly satellite run: earthly --ci --org expressvpn --satellite lightway --allow-privileged +e2e --debian ${{ matrix.distro }} @@ -57,6 +59,7 @@ jobs: - uses: earthly/actions-setup@v1 with: version: ~v0.8 + github-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 - name: Run +coverage on Earthly satellite id: coverage