From b203f00e21e8678aa5d26b967170503dbb855a18 Mon Sep 17 00:00:00 2001 From: joseph-sentry <136376984+joseph-sentry@users.noreply.github.com> Date: Wed, 14 May 2025 12:00:29 -0400 Subject: [PATCH 1/3] fix: OIDC on forks (#1823) --- action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 3a6ee3070..f99bba61b 100644 --- a/action.yml +++ b/action.yml @@ -203,15 +203,17 @@ runs: GITHUB_REPOSITORY: ${{ github.repository }} - name: Get OIDC token - if: ${{ inputs.use_oidc == 'true' }} uses: actions/github-script@v7 id: oidc with: script: | - const id_token = await core.getIDToken(process.env.CC_OIDC_AUDIENCE) - return id_token + if (process.env.CC_USE_OIDC === 'true' && process.env.CC_FORK != 'true') { + const id_token = await core.getIDToken(process.env.CC_OIDC_AUDIENCE) + return id_token + } env: CC_OIDC_AUDIENCE: ${{ inputs.url || 'https://codecov.io' }} + CC_USE_OIDC: ${{ inputs.use_oidc }} - name: Get and set token shell: bash From 525fcbf8a05e5933b1ef3c7885da8fd1d7231920 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 09:50:31 -0700 Subject: [PATCH 2/3] build(deps): bump github/codeql-action from 3.28.13 to 3.28.17 (#1822) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.13 to 3.28.17. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v3.28.13...v3.28.17) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.28.17 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/scorecards-analysis.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0542b070e..4d36fe89b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,7 +41,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3.28.13 + uses: github/codeql-action/init@v3.28.17 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -52,7 +52,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3.28.13 + uses: github/codeql-action/autobuild@v3.28.17 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -66,4 +66,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3.28.13 + uses: github/codeql-action/analyze@v3.28.17 diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 16c520e3d..fae91ecc0 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -57,6 +57,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@v3.28.13 # v1.0.26 + uses: github/codeql-action/upload-sarif@v3.28.17 # v1.0.26 with: sarif_file: results.sarif From 18283e04ce6e62d37312384ff67231eb8fd56d24 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Thu, 15 May 2025 13:38:33 -0700 Subject: [PATCH 3/3] chore(release): 5.4.3 (#1827) --- CHANGELOG.md | 12 +++++++++++- src/version | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84f90e63d..682d1ddac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## v5.4.3 + +### What's Changed +* build(deps): bump github/codeql-action from 3.28.13 to 3.28.17 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1822 +* fix: OIDC on forks by @joseph-sentry in https://github.com/codecov/codecov-action/pull/1823 + + +**Full Changelog**: https://github.com/codecov/codecov-action/compare/v5.4.2..v5.4.3 + + ## v5.4.2 ### What's Changed @@ -1082,4 +1092,4 @@ for the full list. ### Dependencies and Misc - #166 Bump requestretry from 4.1.1 to 4.1.2 - #169 Bump typescript from 4.0.5 to 4.1.2 -- #178 Bump @types/jest from 26.0.15 to 26.0.19 +- #178 Bump @types/jest from 26.0.15 to 26.0.19 \ No newline at end of file diff --git a/src/version b/src/version index 8ae03c119..6ffbe8ba8 100644 --- a/src/version +++ b/src/version @@ -1 +1 @@ -5.4.2 +5.4.3