From ff31698a0989629fe3d9b5040f87f8e38bcf4ed9 Mon Sep 17 00:00:00 2001 From: Jacob Quinn Date: Sun, 4 Oct 2026 04:54:11 -0600 Subject: [PATCH] Authenticate coverage uploads with OIDC AI disclosure: This work was prepared with assistance from OpenAI Codex. --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edc7ccf..44198b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} + permissions: + contents: read + id-token: write env: JULIA_NUM_THREADS: '2' strategy: @@ -48,9 +51,11 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v7 with: - file: lcov.info + files: lcov.info + fail_ci_if_error: true + use_oidc: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} native: name: Native statement core (Julia 1.13) runs-on: ubuntu-latest