ci: use OIDC for Codecov uploads

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax committed 2026-11-05 17:09:24 +01:00
1 parent 59cb1203cd
commit c26fc952f9
1 file changed
+4 -1
+4 -1
View File
@@ -23,6 +23,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # for Codecov authentication
steps:
-
name: Checkout
@@ -38,4 +41,4 @@ jobs:
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true