Fix: Add activation job to create_pull_request needs list#3657
Merged
Conversation
Add activation job to the needs list of create_pull_request jobs to fix undefined property errors when accessing needs.activation.outputs.comment_id and needs.activation.outputs.comment_repo. The create_pull_request job references activation outputs for comment linking but was missing activation in its dependency list, causing 28 actionlint errors across 14 workflows. Fixes #3606 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix undefined activation job outputs in create_pull_request jobs
Fix: Add activation job to create_pull_request needs list
Nov 11, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a bug where create_pull_request jobs referenced needs.activation.outputs.comment_id and needs.activation.outputs.comment_repo in their environment variables but did not declare activation in their needs dependency list, causing 28 actionlint errors across 14 workflows. The fix adds the missing dependency at the compiler level, ensuring all generated workflows have the correct dependency graph.
Key changes:
- Added
activationto the needs list when buildingcreate_pull_requestjobs in the compiler - Updated the comment to document that activation is needed for comment linking
- Regenerated 14 workflow lock files with the corrected dependency graph
Reviewed Changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/workflow/compiler_jobs.go | Added activation to needs array and updated comment to document the dependency |
| .github/workflows/*.lock.yml (14 files) | Regenerated lock files with corrected dependency graph including activation --> create_pull_request |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The
create_pull_requestjobs referenceneeds.activation.outputs.comment_idandneeds.activation.outputs.comment_repofor comment linking but were missingactivationin their dependency list, causing 28 actionlint errors across 14 workflows.Changes
activationto the needs list when buildingcreate_pull_requestjobs (line 193)Example
Follows the pattern established in
notify_comment.gowhich correctly includes both dependencies.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.