Add Go network access to hourly CI cleaner workflow#7355
Merged
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI cleaner network access for Go module downloads
Add Go network access to hourly CI cleaner workflow
Dec 23, 2025
pelikhan
approved these changes
Dec 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hourly CI cleaner workflow was failing because the network firewall blocked
proxy.golang.org, preventing Go module downloads needed for builds, linting, and testing.Changes
network.allowedconfiguration withgopreset to.github/workflows/hourly-ci-cleaner.mdConfiguration
This enables access to:
proxy.golang.org(Go module proxy)sum.golang.org(Go checksum database)pkg.go.dev,go.dev,golang.org(Go documentation/packages)goproxy.io(alternative proxy)The
gonetwork preset is a standard configuration used by other workflows that build Go code (e.g.,smoke-srt-custom-config.md).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login 01/create_pull_request.js log /usr/bin/git l --format=format:rev-parse adc2158520ecb056--show-toplevel git rev-�� ithub/workflows git 0/x64/bin/node ithub/workflows(http block)/usr/bin/gh gh api user --jq .login tags/93cb6efe182--detach -test.v=true /usr/bin/git -test.run=^Test user.email g_.a git rev-�� k/gh-aw/gh-aw/.github/workflows jaY6xuizzFG3 e/git l(http block)/usr/bin/gh gh api user --jq .login ithub/workflows origin e/git-remote-https ithub/workflows main e/git-remote-httxterm-color e/git-remote-https om/a�� om/actions/upload-artifact.git e/git-remote-htt-buildtags ache/node/24.12.0/x64/bin/node om/githubnext/gh/usr/bin/gh pkg/mod/github.capi /opt/hostedtoolcgraphql git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.