You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[plan] Implement/document inline-imports frontmatter flag for self-contained cross-org lock files #24973
Issue #24949 describes how cross-org workflow_call scenarios fail because the activation job must check out the callee repo using a GITHUB_TOKEN scoped only to the caller's org. A collaborator noted:
"There is an inlined-imports front matter flag. The agent should have suggested it..."
This suggests an inline-imports (or similar) frontmatter flag already exists or is partially implemented to make lock files self-contained by inlining all {{#runtime-import ...}} content at compile time, eliminating the cross-org checkout dependency.
Investigation Needed
Search the codebase for any existing implementation:
If the flag exists: ensure it works end-to-end for cross-org scenarios and is documented
If the flag is not yet implemented: implement it
If the Flag Needs Implementation
In pkg/workflow/ and pkg/parser/:
Add inline-imports: true (or inlined-imports: true) to the frontmatter schema in pkg/parser/schemas/
Parse the flag in the frontmatter config (pkg/workflow/frontmatter_types.go or similar)
In the compiler, when inline-imports: true is set, inline all {{#runtime-import ...}} directives into the lock file at compile time instead of leaving them as runtime directives
When all imports are inlined, the cross-org checkout step becomes unnecessary — skip or make it non-fatal
Documentation
Regardless of implementation status, add/update documentation:
Document the inline-imports frontmatter flag in the relevant docs under docs/
Explain it as the recommended solution for cross-org workflow_call scenarios
Note the trade-off: larger lock files vs. no cross-org token requirement
Acceptance Criteria
inline-imports: true frontmatter flag works and produces a self-contained lock file
When inline-imports: true, the cross-org checkout step is not required for runtime execution
Flag is documented with cross-org use case as the primary motivation
Activity
github-actions commentedon Apr 6, 2026
🍪 Issue Monster has assigned this to Copilot!
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot coding agent.
The Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
Note
🔒 Integrity filter blocked 1 item
The following item were blocked because they don't meet the GitHub integrity level.
issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: