Enable cross-repo Copilot auth for d-morrison/macros and add macros submodule - #21
Closed
d-morrison with Copilot wants to merge 2 commits into
Closed
Enable cross-repo Copilot auth for d-morrison/macros and add macros submodule#21d-morrison with Copilot wants to merge 2 commits into
d-morrison/macros and add macros submodule#21d-morrison with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Add macros submodule and enable Copilot cross-repo auth for PRs
Enable cross-repo Copilot auth for Apr 21, 2026
d-morrison/macros and add macros submodule
d-morrison
marked this pull request as ready for review
April 21, 2026 07:15
Collaborator
|
no changes relative to main at present |
Contributor
|
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.
This PR wires in the
macrossubmodule and updates Copilot setup so agent sessions can authenticate withMACROS_REPO_PATford-morrison/macrosoperations. It also adds an explicit setup-time write-permission check to fail fast when token scope is insufficient.Submodule integration
.gitmodulesentry formacrosmacros/gitlink to trackhttps://github.com/d-morrison/macrosCopilot setup: external repo auth
.github/workflows/copilot-setup-steps.ymlgated onMACROS_REPO_PATghauthenticationgh auth setup-gitGH_TOKENexport for downstreamghflows (including PR creation)Permission guardrail
gh api repos/d-morrison/macros --jq '.permissions.push'd-morrison/macrosDocs updates
README.mdandREADME.Rmdwith:MACROS_REPO_PATsecret requirement