Skip to content

expose remote config loading - #648

Open
rishiz27 wants to merge 1 commit into
developfrom
rzarkar/literal-remote-config-loader
Open

rishiz27 wants to merge 1 commit into
developfrom
rzarkar/literal-remote-config-loader

Conversation

@rishiz27

Copy link
Copy Markdown

this exposes the existing remote config fetch as LoadRemoteRef so policy-bot can load the repo policy and shared parent separately, then combine them in a later change.

it returns the file contents without following another remote reference or falling back to an org default. it uses the same client selection, private-remotes setting, caching, cancellation and error handling we already have.

also rejects malformed repo references that could change the request URL before any installation lookup or fetch.

@changelog-app

changelog-app Bot commented Oct 15, 2026

Copy link
Copy Markdown

Generate changelog in changelog/@unreleased

Type (Select exactly one)

  • Feature (Adding new functionality)
  • Improvement (Improving existing functionality)
  • Fix (Fixing an issue with existing functionality)
  • Break (Creating a new major version by breaking public APIs)
  • Deprecation (Removing functionality in a non-breaking way)
  • Migration (Automatically moving data/functionality to a new system)

Description

expose remote config loading

Check the box to generate changelog(s)

  • Generate changelog entry

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