Skip to content

SQSCANGHA-134 Upgrade the libraries to latest version#227

Merged
claire-villard-sonarsource merged 4 commits into
masterfrom
claire/upgrade-libs
Apr 14, 2026
Merged

SQSCANGHA-134 Upgrade the libraries to latest version#227
claire-villard-sonarsource merged 4 commits into
masterfrom
claire/upgrade-libs

Conversation

@claire-villard-sonarsource

@claire-villard-sonarsource claire-villard-sonarsource commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod Bot changed the title Upgrade the libraries to latest version SQSCANGHA-134 Upgrade the libraries to latest version Apr 8, 2026
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Apr 8, 2026

Copy link
Copy Markdown

SQSCANGHA-134

@claire-villard-sonarsource claire-villard-sonarsource force-pushed the claire/upgrade-libs branch 2 times, most recently from 335eaf6 to 8e7de7c Compare April 13, 2026 09:13
@claire-villard-sonarsource claire-villard-sonarsource marked this pull request as ready for review April 13, 2026 09:31
@sonar-review-alpha

sonar-review-alpha Bot commented Apr 13, 2026

Copy link
Copy Markdown

Summary

This PR upgrades core GitHub Actions dependencies to the latest versions and pins all external action calls with commit SHAs for supply chain security.

Dependency upgrades:

  • @actions/core: 1.11.1 → 3.0.0
  • @actions/github: 6.0.1 → 9.0.0
  • @actions/tool-cache: 2.0.2 → 4.0.0
  • Build tool updates: @rollup plugins and rollup

These upgrades address 9 CVEs and fix Repox authentication. The large diff is mainly due to regenerated dist bundles (30KB new core module) after dependency updates.

Workflow security hardening:
All workflow files switch from actions/checkout@v5 to pinned SHA: de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2. This prevents supply chain attacks by locking to a specific commit rather than a version tag.

Documentation:
README examples updated from actions/checkout@v4 to actions/checkout@v6 (still use version tags in examples for clarity/maintainability).

What reviewers should know

Where to focus:

  • package.json & package-lock.json: Review the dependency changes. The major version bumps should have been validated for compatibility.
  • Workflow YAML files: Verify the SHA pinning is correct and intentional (this is a security best practice). All workflows use the same SHA consistently.
  • dist/ files: These are generated bundles—ignore detailed diffs unless checking that they were properly rebuilt. The large size change is expected from upgrading dependencies.

Things to watch for:

  • API compatibility: Major version bumps in @actions/core, @actions/github, and @actions/tool-cache may have breaking changes. Verify the code using these dependencies wasn't affected (check src/main files referenced in the main entry point).
  • README examples use version tags (v6) while workflows use SHAs—this is intentional for clarity and is the correct approach.
  • The CVE fixes should be confirmed against the actual vulnerabilities if needed (9 CVEs listed in commit message).

CI status:
Unit tests should validate the build works correctly with the new dependencies. Check that all workflows pass with the pinned actions.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

sonar-review-alpha[bot]

This comment was marked as resolved.

sonar-review-alpha[bot]

This comment was marked as outdated.

sonar-review-alpha[bot]

This comment was marked as outdated.

@sonarqubecloud

Copy link
Copy Markdown

@sonar-review-alpha sonar-review-alpha 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.

Clean, consistent upgrade PR. All SHA pins are correct and uniformly applied across every changed workflow file.

🗣️ Give feedback

Comment thread package-lock.json

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good!

@claire-villard-sonarsource claire-villard-sonarsource merged commit c835722 into master Apr 14, 2026
73 checks passed
@claire-villard-sonarsource claire-villard-sonarsource deleted the claire/upgrade-libs branch April 14, 2026 13:21
luketainton pushed a commit to luketainton/repos_epage-go that referenced this pull request Apr 28, 2026
…(#8)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [SonarSource/sonarqube-scan-action](https://github.com/SonarSource/sonarqube-scan-action) | action | minor | `v7.1.0` → `v7.2` |

---

### Release Notes

<details>
<summary>SonarSource/sonarqube-scan-action (SonarSource/sonarqube-scan-action)</summary>

### [`v7.2`](SonarSource/sonarqube-scan-action@v7.2.0...v7.2.0)

[Compare Source](SonarSource/sonarqube-scan-action@v7.2.0...v7.2.0)

### [`v7.2.0`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v7.2.0)

[Compare Source](SonarSource/sonarqube-scan-action@v7.1.0...v7.2.0)

#### What's Changed

- SQSCANGHA-133 Upgrade the Node version used in UTs + contribution guide by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;226](SonarSource/sonarqube-scan-action#226)
- SC-45750 Migrate to dateless license headers by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;229](SonarSource/sonarqube-scan-action#229)
- SQSCANGHA-134 Upgrade the libraries to latest version by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;227](SonarSource/sonarqube-scan-action#227)
- SQSCANGHA-138 Update dist and add ci test by [@&#8203;antoine-vinot-sonarsource](https://github.com/antoine-vinot-sonarsource) in [#&#8203;233](SonarSource/sonarqube-scan-action#233)
- SQSCANGHA-140 Add OpenPGP signature verification for scanner downloads by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;235](SonarSource/sonarqube-scan-action#235)

**Full Changelog**: <SonarSource/sonarqube-scan-action@v7...v7.2.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 is behind base branch, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/epage-go/pulls/8
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
luketainton pushed a commit to luketainton/repos_pypilot that referenced this pull request Apr 28, 2026
…(#440)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [SonarSource/sonarqube-scan-action](https://github.com/SonarSource/sonarqube-scan-action) | action | minor | `v7.1.0` → `v7.2` |

---

### Release Notes

<details>
<summary>SonarSource/sonarqube-scan-action (SonarSource/sonarqube-scan-action)</summary>

### [`v7.2`](SonarSource/sonarqube-scan-action@v7.2.0...v7.2.0)

[Compare Source](SonarSource/sonarqube-scan-action@v7.2.0...v7.2.0)

### [`v7.2.0`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v7.2.0)

[Compare Source](SonarSource/sonarqube-scan-action@v7.1.0...v7.2.0)

#### What's Changed

- SQSCANGHA-133 Upgrade the Node version used in UTs + contribution guide by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;226](SonarSource/sonarqube-scan-action#226)
- SC-45750 Migrate to dateless license headers by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;229](SonarSource/sonarqube-scan-action#229)
- SQSCANGHA-134 Upgrade the libraries to latest version by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;227](SonarSource/sonarqube-scan-action#227)
- SQSCANGHA-138 Update dist and add ci test by [@&#8203;antoine-vinot-sonarsource](https://github.com/antoine-vinot-sonarsource) in [#&#8203;233](SonarSource/sonarqube-scan-action#233)
- SQSCANGHA-140 Add OpenPGP signature verification for scanner downloads by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;235](SonarSource/sonarqube-scan-action#235)

**Full Changelog**: <SonarSource/sonarqube-scan-action@v7...v7.2.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 is behind base branch, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/pypilot/pulls/440
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
luketainton pushed a commit to luketainton/repos_roboluke that referenced this pull request Apr 28, 2026
…(#445)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [SonarSource/sonarqube-scan-action](https://github.com/SonarSource/sonarqube-scan-action) | action | minor | `v7.1.0` → `v7.2` |

---

### Release Notes

<details>
<summary>SonarSource/sonarqube-scan-action (SonarSource/sonarqube-scan-action)</summary>

### [`v7.2`](SonarSource/sonarqube-scan-action@v7.2.0...v7.2.0)

[Compare Source](SonarSource/sonarqube-scan-action@v7.2.0...v7.2.0)

### [`v7.2.0`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v7.2.0)

[Compare Source](SonarSource/sonarqube-scan-action@v7.1.0...v7.2.0)

#### What's Changed

- SQSCANGHA-133 Upgrade the Node version used in UTs + contribution guide by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;226](SonarSource/sonarqube-scan-action#226)
- SC-45750 Migrate to dateless license headers by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;229](SonarSource/sonarqube-scan-action#229)
- SQSCANGHA-134 Upgrade the libraries to latest version by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;227](SonarSource/sonarqube-scan-action#227)
- SQSCANGHA-138 Update dist and add ci test by [@&#8203;antoine-vinot-sonarsource](https://github.com/antoine-vinot-sonarsource) in [#&#8203;233](SonarSource/sonarqube-scan-action#233)
- SQSCANGHA-140 Add OpenPGP signature verification for scanner downloads by [@&#8203;claire-villard-sonarsource](https://github.com/claire-villard-sonarsource) in [#&#8203;235](SonarSource/sonarqube-scan-action#235)

**Full Changelog**: <SonarSource/sonarqube-scan-action@v7...v7.2.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 is behind base branch, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/roboluke/pulls/445
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
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.

3 participants