mirror of
https://github.com/docker/setup-compose-action.git
synced 2026-11-07 00:19:14 +05:00
Merge pull request #161 from crazy-max/ci-codecov-oidc
ci: use OIDC for Codecov uploads
This commit is contained in:
1 file changed
+4
-1
@@ -17,6 +17,9 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # for Codecov authentication
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
@@ -32,4 +35,4 @@ jobs:
|
||||
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
|
||||
with:
|
||||
files: ./coverage/clover.xml
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
use_oidc: true
|
||||
Reference in new issue
Block a user