docs: add github-app to Allowed Import Fields in imports reference#26119
Merged
docs: add github-app to Allowed Import Fields in imports reference#26119
github-app to Allowed Import Fields in imports reference#26119Conversation
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/7f0679b3-e576-44bd-8a01-44f324f6f1b4 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add github-app to allowed import fields in imports reference
docs: add Apr 14, 2026
github-app to Allowed Import Fields in imports reference
pelikhan
approved these changes
Apr 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the imports reference documentation to explicitly list github-app: as a supported top-level import field and to document its merge/precedence behavior when provided by shared imports.
Changes:
- Add
github-app:to the “Allowed Import Fields” list for shared workflow imports. - Document
github-app:merge semantics in the “Field-Specific Merge Semantics” table (main workflow wins; otherwise first imported value is used).
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/reference/imports.md | Documents github-app: as an allowed import field and clarifies its precedence/merge semantics. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
This was referenced Apr 14, 2026
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.
github-appis a supported top-level import field (compiler merges it with main-workflow-wins precedence) but was absent from the imports reference, leaving users uncertain whether centralizing app credentials in a shared import was intentional or accidentally working.Changes
docs/src/content/docs/reference/imports.mdgithub-app:to the Allowed Import Fields listgithub-app:row to the Field-Specific Merge Semantics table with the correct precedence rule: main workflow wins; first imported value fills in if main omits itExample shared import for the side-repo-ops pattern:
Any workflow importing this file inherits the credentials without re-declaring them.