Repository navigation
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] @copilot update the upload-asset to specify a different github repository and github token.
Add repository field to upload-assets configuration for cross-repository publishing
Sep 20, 2025
Collaborator
|
@copilot merge main and fix tests |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Completed! I've successfully merged the main branch and resolved all test failures. The merge includes the latest bug fixes from main (#943) and all unit tests are now passing. The commit hash for this fix is Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
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.
Updating upload-asset to support custom GitHub repository and token
Problem Analysis ✅
The current upload-asset functionality only supports publishing to the same GitHub repository where the workflow is running. The requirement is to add support for specifying a different GitHub repository and GitHub token.
Implementation Complete ✅
Core Changes Implemented:
Repositoryfield toUploadAssetsConfigstruct inpublish_assets.gorepositoryfield from YAML configurationsafe_outputs_mcp_server.cjsto use custom repository when specifiedupload_assets.cjsto handle cross-repository git operations with proper authenticationGITHUB_AW_ASSETS_REPOSITORYenvironment variableowner/repoformat)Recent Updates:
Key Features:
owner/repo(validated by regex pattern)Testing & Validation:
Usage Example
Technical Implementation Details
GITHUB_AW_ASSETS_REPOSITORYpassed to all engine configurationsowner/repoformatStatus: ✅ COMPLETE, TESTED, AND READY FOR MERGE
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.