Skip to content

Commit

Permalink
fix(gha): use oidc to authenticate on codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
alekitto committed Jun 13, 2024
1 parent 00d4423 commit 5fac2d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:

jobs:
build:
permissions:
id-token: write
contents: read

env:
COMPOSER_ROOT_VERSION: dev-master

Expand Down Expand Up @@ -56,4 +60,5 @@ jobs:
if: ${{ matrix.php_version == '8.2' }}
uses: codecov/codecov-action@v4
with:
use_oidc: true
file: ./coverage.xml

0 comments on commit 5fac2d9

Please sign in to comment.