Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
|
@copilot fix the release resolution algorithm to keep the "highest" semver version, rather than just the latest release. |
Copilot
AI
changed the title
[WIP] Recompile workflows to sync lock files with markdown
Recompile workflows to sync lock files with markdown sources
Jan 26, 2026
Modified getLatestActionRelease() and getLatestActionReleaseViaGit() to: 1. Parse and collect all valid semantic version releases 2. Sort releases by semver in descending order (highest first) 3. Select the highest compatible version instead of relying on GitHub API order This ensures we always get the highest semantic version, not just the most recently published release. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Updated GitHub Actions to latest versions using fixed semver resolution - actions/checkout: v5.0.1 → v6.0.2 (correctly selects highest semver) - actions/download-artifact: stays at v6.0.0 - actions/github-script: v7.0.1/v8.0.0 → v8 - Recompiled all 140 workflows to use updated action pins The release resolution fix ensures actions are upgraded to the highest semantic version, not just the most recently published release. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Fixed in 38e81c3. The release resolution algorithm now sorts all releases by semantic version before selecting the highest compatible version, ensuring we always get v6.0.2 (highest) instead of v5.0.1 (most recent). |
Copilot
AI
changed the title
Recompile workflows to sync lock files with markdown sources
Fix release resolution algorithm and recompile workflows with correct action versions
Jan 26, 2026
This was referenced Jan 26, 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.
Workflow lock files (
.lock.yml) were out of sync with their markdown sources (.md), and the release resolution algorithm was incorrectly selecting versions based on GitHub API order rather than semantic versioning.Changes
Release Resolution Fix:
getLatestActionRelease()andgetLatestActionReleaseViaGit()to sort releases by semantic versionAction Updates:
actions/checkout: v5.0.1 → v6.0.2 (correctly identified as highest version)actions/github-script: v7.0.1/v8.0.0 → v8Workflow Recompilation:
gh aw compile --validate --verboseaction_pins.jsonwith updated action versionsThe fix prevents future action updates from causing unintended downgrades by ensuring the highest semantic version is always selected.
Original prompt
This section details on the original issue you should resolve
<issue_title>[agentics] agentic workflows out of sync</issue_title>
<issue_description>## Problem
The workflow lock files (
.lock.yml) are out of sync with their source markdown files (.md). This means the workflows that run in GitHub Actions are not using the latest configuration.What needs to be done
The workflows need to be recompiled to regenerate the lock files from the markdown sources.
Instructions
Recompile all workflows using one of the following methods:
Using gh aw CLI
Using gh-aw MCP Server
If you have the gh-aw MCP server configured, use the
compiletool:{ "tool": "compile", "arguments": { "validate": true, "verbose": true } }This will:
gh-awAfter recompiling, commit the changes with a message like:
Detected Changes
The following workflow lock files have changes:
View diff