mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 12:26:24 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18283e04ce | ||
|
|
525fcbf8a0 | ||
|
|
b203f00e21 | ||
|
|
ad3126e916 |
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3.28.13
|
uses: github/codeql-action/init@v3.28.17
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# 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).
|
# 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)
|
# If this step fails, then you should remove it and run the build manually (see below)
|
||||||
- name: Autobuild
|
- 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.
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
# 📚 https://git.io/JvXDl
|
# 📚 https://git.io/JvXDl
|
||||||
@@ -66,4 +66,4 @@ jobs:
|
|||||||
# make release
|
# make release
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v3.28.13
|
uses: github/codeql-action/analyze@v3.28.17
|
||||||
|
|||||||
2
.github/workflows/scorecards-analysis.yml
vendored
2
.github/workflows/scorecards-analysis.yml
vendored
@@ -57,6 +57,6 @@ jobs:
|
|||||||
|
|
||||||
# Upload the results to GitHub's code scanning dashboard.
|
# Upload the results to GitHub's code scanning dashboard.
|
||||||
- name: "Upload to code-scanning"
|
- 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:
|
with:
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
|
|||||||
18
CHANGELOG.md
18
CHANGELOG.md
@@ -1,3 +1,21 @@
|
|||||||
|
## 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
|
||||||
|
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/codecov/codecov-action/compare/v5.4.1..v5.4.2
|
||||||
|
|
||||||
|
|
||||||
## v5.4.1
|
## v5.4.1
|
||||||
|
|
||||||
### What's Changed
|
### What's Changed
|
||||||
|
|||||||
@@ -203,15 +203,17 @@ runs:
|
|||||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||||
|
|
||||||
- name: Get OIDC token
|
- name: Get OIDC token
|
||||||
if: ${{ inputs.use_oidc }}
|
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
id: oidc
|
id: oidc
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
if (process.env.CC_USE_OIDC === 'true' && process.env.CC_FORK != 'true') {
|
||||||
const id_token = await core.getIDToken(process.env.CC_OIDC_AUDIENCE)
|
const id_token = await core.getIDToken(process.env.CC_OIDC_AUDIENCE)
|
||||||
return id_token
|
return id_token
|
||||||
|
}
|
||||||
env:
|
env:
|
||||||
CC_OIDC_AUDIENCE: ${{ inputs.url || 'https://codecov.io' }}
|
CC_OIDC_AUDIENCE: ${{ inputs.url || 'https://codecov.io' }}
|
||||||
|
CC_USE_OIDC: ${{ inputs.use_oidc }}
|
||||||
|
|
||||||
- name: Get and set token
|
- name: Get and set token
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
5.4.1
|
5.4.3
|
||||||
|
|||||||
Reference in New Issue
Block a user