Skip to content

ci: allow Node.js download hosts in Sonar workflow - #214

Merged
sjinks merged 1 commit into
masterfrom
ci/sonar-node-downloads
Nov 8, 2026
Merged

sjinks merged 1 commit into
masterfrom
ci/sonar-node-downloads

Conversation

@sjinks

@sjinks sjinks commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Add nodejs.org:443 and release-assets.githubusercontent.com:443 to the SonarCloud workflow's harden-runner allow list, matching the endpoints used for Node.js downloads. The existing egress policy remains unchanged. This workflow currently monitors egress in audit mode.

Validated the workflow YAML and endpoint list locally.

Include nodejs.org and GitHub release assets in the Sonar workflow allow list to match the Node.js download endpoints used by CI.
Copilot AI balanced review requested due to automatic review settings November 8, 2026 01:01
@sonarqubecloud

sonarqubecloud Bot commented Nov 8, 2026

Copy link
Copy Markdown

Copilot AI 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.

🟢 Approval recommended

No active review issues are reported for the Node.js download endpoint allow-list update.

No open issues 🎉

What changed in this PR

Updates the SonarCloud workflow’s harden-runner allow list to include hosts used for Node.js downloads.

Changes:

  • Adds nodejs.org:443 and release-assets.githubusercontent.com:443.
  • Leaves the existing audit-mode egress policy unchanged.
File Description
.github/​workflows/​sonarcloud.yml Adds two HTTPS endpoints for Node.js downloads to the allow list.

Review effort: Balanced

@codecov

codecov Bot commented Nov 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.00%. Comparing base (9b5027e) to head (bda51b2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #214   +/-   ##
=======================================
  Coverage   85.00%   85.00%           
=======================================
  Files           5        5           
  Lines         240      240           
  Branches       53       53           
=======================================
  Hits          204      204           
  Misses          1        1           
  Partials       35       35           

☔ 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.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

Test Results

  5 files    5 suites   1m 7s ⏱️
 71 tests  71 ✅ 0 💤 0 ❌
355 runs  355 ✅ 0 💤 0 ❌

Results for commit bda51b2.

@sjinks
sjinks merged commit 1980c6b into master Nov 8, 2026
33 checks passed
@sjinks
sjinks deleted the ci/sonar-node-downloads branch November 8, 2026 01: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