Skip to content

fix(ci): Add release-assets.githubusercontent.com to allowed endpoints #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Jul 31, 2025

The CodeQL workflow was failing because the step-security/harden-runner was blocking egress traffic to the endpoint used for downloading the CodeQL bundle.

The download from https://github.com/github/codeql-action/releases redirects to release-assets.githubusercontent.com.

This change adds release-assets.githubusercontent.com to the list of allowed endpoints to resolve the ECONNREFUSED error and removes previous incorrect attempts.

@taeold taeold force-pushed the fix/codeql-egress branch 2 times, most recently from a72f7f1 to 191d7ac Compare July 31, 2025 21:11
The CodeQL workflow was failing because the `step-security/harden-runner` was blocking egress traffic to the endpoint used for downloading the CodeQL bundle.

The download from `https://github.com/github/codeql-action/releases` redirects to `release-assets.githubusercontent.com`.

This change adds `release-assets.githubusercontent.com` to the list of allowed endpoints to resolve the `ECONNREFUSED` error and removes previous incorrect attempts.
@taeold taeold force-pushed the fix/codeql-egress branch from 191d7ac to c0dd525 Compare July 31, 2025 21:13
@taeold taeold changed the title fix(ci): Add uploads.github.com to CodeQL allowed endpoints fix(ci): Add release-assets.githubusercontent.com to allowed endpoints Jul 31, 2025
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.

1 participant