Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/code-simplifier.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/code-simplifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ safe-outputs:
reviewers: [copilot]
expires: 1d

network:
allowed:
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

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

The network configuration should include both "defaults" and "go" presets, not just "go" alone. Using only "go" removes access to critical system domains needed for package installation, certificate validation, and other essential operations.

The "defaults" preset includes important domains such as:

  • Ubuntu package repositories (archive.ubuntu.com, security.ubuntu.com, api.snapcraft.io)
  • Certificate authority domains (various CRL and OCSP endpoints)
  • Package manager domains (packages.cloud.google.com, packages.microsoft.com)
  • JSON schema validation domains (json-schema.org, json.schemastore.org)

Other workflows that need Go support use both presets together. For example, tidy.md (line 32) uses: allowed: ["defaults", "go"]

This should be changed to:

network:
  allowed:
    - defaults
    - go
Suggested change
allowed:
allowed:
- defaults

Copilot uses AI. Check for mistakes.
- go

tools:
github:
toolsets: [default]
Expand Down
Loading