From 3e8a9a44ae77584f04e09418f10701443184a3c8 Mon Sep 17 00:00:00 2001 From: divdavem Date: Fri, 6 Sep 2024 17:20:29 +0200 Subject: [PATCH] Updating github actions, using oidc for codecov (#493) --- .github/workflows/ci.yml | 12 ++++++++++-- .github/workflows/update.yml | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdc60045..6d16f8eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ jobs: tests: name: Tests + permissions: + id-token: write + contents: read + strategy: matrix: os: [ubuntu-latest, windows-latest] @@ -44,15 +48,19 @@ jobs: - name: Run end to end tests run: npm run e2e:coverage - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4 + - uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0 with: file: ./coverage/lcov.info flags: ut + disable_search: true + use_oidc: true - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4 + - uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0 with: file: ./coverage-e2e/lcov.info flags: e2e + disable_search: true + use_oidc: true - name: Build API documentation run: npm run apidoc diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 1ae5e27b..072bbd03 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -18,7 +18,7 @@ jobs: - run: npm install --ignore-scripts - run: npm update --ignore-scripts - name: Create pull request - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 + uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1 with: commit-message: 'chore(deps): update all dependencies' branch: dependencies