Skip to content

Allow GitHub network access for maintenance workflows - #56978

Merged
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-add-github-network-preset
Aug 29, 2026
Merged

Allow GitHub network access for maintenance workflows#56978
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-add-github-network-preset

Conversation

Copilot AI commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

PureLock and Dead Code Removal Agent generated most observed blocked firewall requests, primarily to GitHub endpoints. Their network policies omitted the github ecosystem preset.

  • Workflow network policy

    • Add github alongside existing defaults, go, and node presets in:
      • purelock.md
      • dead-code-remover.md
  • Generated workflows

    • Regenerate both corresponding .lock.yml files with the expanded GitHub domain allowlist.
network:
  allowed:
    - defaults
    - github
    - go
    - node

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add github network ecosystem preset to PureLock and Dead Code Removal Agent workflows Allow GitHub network access for maintenance workflows Aug 29, 2026
Copilot AI requested a review from pelikhan August 29, 2026 21:56
@pelikhan
pelikhan marked this pull request as ready for review August 29, 2026 22:00
Copilot AI balanced review requested due to automatic review settings August 29, 2026 22:00
@pelikhan
pelikhan merged commit 385f3ba into main Aug 29, 2026
@pelikhan
pelikhan deleted the copilot/deep-report-add-github-network-preset branch August 29, 2026 22:00

Copilot AI left a comment

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.

🟡 Changes recommended

Both workflows still omit api.github.com, the primary blocked endpoint identified by the linked issue.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds GitHub network access to two maintenance workflows to reduce firewall blocks.

Changes:

  • Adds the github network preset.
  • Regenerates corresponding workflow lock files.
File summaries
File Description
.github/workflows/purelock.md Expands network policy.
.github/workflows/purelock.lock.yml Regenerates allowed domains.
.github/workflows/dead-code-remover.md Expands network policy.
.github/workflows/dead-code-remover.lock.yml Regenerates allowed domains.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

network:
allowed:
- defaults
- github
network:
allowed:
- defaults
- github
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.10

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.

[deep-report] Add github network ecosystem preset to PureLock and Dead Code Removal Agent workflows

3 participants