[WIP] Split update and create project status update#12961
Closed
[WIP] Split update and create project status update#12961
Conversation
…t-status-update Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
…outputs Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
…e handlers Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
…us-update handlers Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
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.
Complete: Split update-project and create-project-status-update from project handler manager
Goal: Move
update_projectandcreate_project_status_updatehandlers from the project-specific handler manager to the regular safe outputs handler manager. ✅Summary of Changes:
This PR successfully splits
update-projectandcreate-project-status-updatehandlers from the project-specific handler manager and moves them to the regular safe outputs handler manager. These handlers now run with regular GitHub tokens instead of requiring the specializedGH_AW_PROJECT_GITHUB_TOKEN.Key Changes:
update_projectandcreate_project_status_updateto regular handler manager (HANDLER_MAP)Architecture After Changes:
Project Handler Manager (requires
GH_AW_PROJECT_GITHUB_TOKEN):create_projectcopy_projectRegular Handler Manager (uses standard GitHub token):
update_project✨create_project_status_update✨Benefits:
Files Modified:
actions/setup/js/safe_output_handler_manager.cjs- Added update_project and create_project_status_updateactions/setup/js/safe_output_project_handler_manager.cjs- Removed handlers, updated commentspkg/workflow/compiler_safe_outputs_config.go- Moved handlers between registriespkg/workflow/compiler_safe_outputs_job.go- Updated permissions and step logicpkg/workflow/compiler_safe_outputs_steps.go- Updated token selection logicpkg/workflow/create_project_status_update_handler_config_test.go- Updated test expectationspkg/workflow/update_project_handler_config_test.go- Updated test expectationspkg/workflow/compiler_safe_outputs_steps_test.go- Updated test casesOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.