Create issues with agentic instructions when workflows need recompilation#9277
Merged
Create issues with agentic instructions when workflows need recompilation#9277
Conversation
- Created JavaScript script to check for outdated workflows and create issues - Updated maintenance_workflow.go to use the new JavaScript script - Added comprehensive tests for the new functionality - Script searches for existing issues to avoid duplicates - Creates issues with agentic instructions for GitHub Copilot Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update agentics maintenance job for workflow recompilation
Create issues with agentic instructions when workflows need recompilation
Jan 7, 2026
pelikhan
approved these changes
Jan 7, 2026
pelikhan
reviewed
Jan 7, 2026
Updated the compile-workflows job checkout step to use sparse-checkout for .github folder instead of full repository checkout, and added persist-credentials: false for security. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
|
@copilot in development mode in the compile-workflows job, checkout the entire repository. in release mode, checkout the .github folder (sparse in both case, no credentials) |
…lease mode In dev mode, checkout the entire repository (needed for building). In release mode, use sparse checkout of only .github folder. Both modes use persist-credentials: false for security. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done in abd6e65. Dev mode now checks out the entire repository, release mode uses sparse checkout of |
This was referenced Jan 7, 2026
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.
Plan: Update agentics-maintenance job to create issue for outdated workflows
Understanding
pkg/workflow/maintenance_workflow.gocompile-workflowsjob that checks for out-of-sync workflowsImplementation Complete ✅
check_workflow_recompile_needed.cjsinactions/setup/jsmaintenance_workflow.goto use the new JavaScript scriptcompile-workflowsjob to use the JavaScript scriptpersist-credentials: false.githubfolder withpersist-credentials: falseKey Features Implemented
.githubfolder onlypersist-credentials: falsefor securityOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.