Skip to content

chore(deps): update codecov/codecov-action action to v7 - #569

Merged
LightOfHeaven1994 merged 1 commit into
masterfrom
konflux/mintmaker/master/codecov-codecov-action-7.x
Jun 18, 2026
Merged

chore(deps): update codecov/codecov-action action to v7#569
LightOfHeaven1994 merged 1 commit into
masterfrom
konflux/mintmaker/master/codecov-codecov-action-7.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
codecov/codecov-action action major v6.0.0v7.0.0

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

codecov/codecov-action (codecov/codecov-action)

v7.0.0

Compare Source

⚠️ Due to migration issues with keybase, we are unable to update our keys under the codecovsecurity account. We have deleted the account and are using codecovsecops with the original gpg key

What's Changed

Full Changelog: codecov/codecov-action@v6.0.1...v7.0.0

v6.0.2

Compare Source

This is a copy of the v7.0.0 release to make updates easier

What's Changed

Full Changelog: codecov/codecov-action@v6.0.1...v6.0.2

v6.0.1

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v6.0.0...v6.0.1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux
red-hat-konflux Bot requested a review from a team as a code owner June 15, 2026 17:18
@sourcery-ai

sourcery-ai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the GitHub Actions test workflow to use codecov/codecov-action v7.0.0 instead of v6.0.0 for uploading coverage reports, keeping all other test configuration intact.

File-Level Changes

Change Details Files
Bump Codecov GitHub Action from v6.0.0 to v7.0.0 in the test workflow.
  • Update the codecov/codecov-action version reference from v6.0.0 to v7.0.0 in the CI test workflow job that uploads coverage.
  • Keep all existing Codecov configuration inputs (fail_ci_if_error and coverage file paths) unchanged to preserve current behavior.
.github/workflows/test.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Walkthrough

The GitHub Actions test workflow is updated to use codecov/codecov-action@v7.0.0 instead of @v6.0.0 for the Codecov coverage upload step. All other workflow configuration remains unchanged.

Changes

CI Workflow Update

Layer / File(s) Summary
Codecov action version bump
.github/workflows/test.yml
Updates the codecov/codecov-action pin from v6.0.0 to v7.0.0 in the coverage upload step.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically describes the main change: updating the codecov/codecov-action action to v7.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly relates to the changeset, detailing the codecov/codecov-action version upgrade from v6.0.0 to v7.0.0 with relevant release notes and context.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/master/codecov-codecov-action-7.x

Comment @coderabbitai help to get the list of available commands and usage tips.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR from Konflux has been automatically approved.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.18%. Comparing base (5aa1f62) to head (fd84617).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #569   +/-   ##
=======================================
  Coverage   84.18%   84.18%           
=======================================
  Files          86       86           
  Lines        1998     1998           
  Branches      662      670    +8     
=======================================
  Hits         1682     1682           
  Misses        279      279           
  Partials       37       37           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/test.yml:
- Line 28: The codecov/codecov-action step is using a mutable tag reference
(v7.0.0) instead of a full-length immutable commit SHA, which creates a supply
chain security risk. Replace the uses statement for codecov/codecov-action with
a reference to the specific commit SHA for the v7.0.0 release, and include a
comment indicating which version it corresponds to for maintainability.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: cdb47ebd-7dcb-4504-839d-143f0ad2392c

📥 Commits

Reviewing files that changed from the base of the PR and between 5aa1f62 and fd84617.

📒 Files selected for processing (1)
  • .github/workflows/test.yml

- run: npm run ci:verify
- name: Upload code coverage
uses: codecov/codecov-action@v6.0.0
uses: codecov/codecov-action@v7.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

cat -n .github/workflows/test.yml | sed -n '20,35p'

Repository: RedHatInsights/tasks-frontend

Length of output: 909


🌐 Web query:

codecov-action v7.0.0 github release commit sha

💡 Result:

The commit SHA for the codecov-action v7.0.0 release is fb8b3582c8e4def4969c97caa2f19720cb33a72f [1][2][3]. This release was merged via pull request #1957 on June 7, 2026 [4][1]. The version bump to 7.0.0 primarily addressed GPG verification failures by updating the Codecov Wrapper submodule to fetch the PGP key from the codecovsecops Keybase account [4][2][5].

Citations:


🌐 Web query:

github actions pinning immutable commit sha best practices

💡 Result:

Pinning GitHub Actions to a full-length commit SHA is a critical security best practice to prevent supply chain attacks, such as tag-retargeting or malicious updates to mutable references [1][2][3]. Best Practices for Pinning GitHub Actions: 1. Use Full-Length Commit SHAs: Always reference actions using their full 40-character commit SHA [1][4]. Unlike tags (e.g., @v4) or branch names (e.g., @main), which are mutable pointers that can be changed by repository maintainers or attackers, a commit SHA is immutable and guarantees that the exact code you audited is the code that executes [2][5][6]. 2. Maintain Human-Readable References: To keep workflows readable and facilitate intentional updates, include the version tag as a comment on the same line as the SHA [2][5][7]. Example: - uses: actions/checkout@3df4ab1 # v4.0.0 3. Automate Maintenance with Tooling: Pinning requires active management to receive security patches and feature updates [2][3]. Use automated dependency update tools like Dependabot or Renovate [2][6]. Both tools are designed to recognize SHA-pinned actions and will automatically open pull requests to update the SHA and the version comment together [8][7]. 4. Enforce Policies: Organizations can mitigate risk by enabling policies that require all actions to be pinned to a full commit SHA [1][9]. When enabled, any workflow using a non-pinned action will fail, ensuring consistency across your organization [2][8]. 5. Audit the Dependency Tree: Remember that action pinning should be applied recursively [8]. If you maintain custom actions that consume other actions, you should pin those internal references to commit SHAs as well [8]. 6. Complementary Security Measures: While SHA pinning prevents unauthorized code changes, it does not replace the need for other security practices [3]. Continue to vet the creators of the actions you use, audit the action's source code for malicious behavior or excessive permissions, and use tools like Zizmor or OpenSSF Scorecards to detect unpinned actions and other risky configurations [10][11][6]. By adopting these practices, you eliminate the risk of an attacker compromising an action’s upstream tag to inject malicious code into your CI/CD pipeline [2][5].

Citations:


Pin the Codecov action to an immutable commit SHA.

codecov/codecov-action@v7.0.0 is a mutable tag; GitHub's security guidance requires pinning to a full-length commit SHA to prevent supply chain attacks. Update to the v7.0.0 release commit with a version comment for readability.

🔒 Proposed fix
-        uses: codecov/codecov-action@v7.0.0
+        uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
uses: codecov/codecov-action@v7.0.0
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
🧰 Tools
🪛 zizmor (1.25.2)

[error] 28-28: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/test.yml at line 28, The codecov/codecov-action step is
using a mutable tag reference (v7.0.0) instead of a full-length immutable commit
SHA, which creates a supply chain security risk. Replace the uses statement for
codecov/codecov-action with a reference to the specific commit SHA for the
v7.0.0 release, and include a comment indicating which version it corresponds to
for maintainability.

Source: Linters/SAST tools

@LightOfHeaven1994
LightOfHeaven1994 merged commit ec6ebac into master Jun 18, 2026
7 checks passed
@LightOfHeaven1994
LightOfHeaven1994 deleted the konflux/mintmaker/master/codecov-codecov-action-7.x branch June 18, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants