Add release alias map to releases.json#23626
Conversation
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/39508cab-8d76-4fb0-9b6c-9f15240d569b Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/39508cab-8d76-4fb0-9b6c-9f15240d569b Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot update releases JSON schema https://github.com/github/gh-aw/actions/runs/23778157850/job/69284468557?pr=23626 |
There was a problem hiding this comment.
Pull request overview
Adds a release alias mapping to the gh-aw release configuration and updates the corresponding JSON schema to validate the new structure.
Changes:
- Added an
aliasesmap to.github/aw/releases.json(e.g.,latest,stable). - Updated
.github/aw/releases.schema.jsonto validatealiasesvalues as eitherlatestorvMAJOR.MINOR.PATCH. - Updated
.github/workflows/daily-doc-updater.lock.yml(cache key suffix + wiring trusted-users into MCP guard policies).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/daily-doc-updater.lock.yml | Regenerated workflow lock content (cache key suffix + trusted-users guard policy wiring). |
| .github/aw/releases.schema.json | Extends schema to support/validate the new aliases map. |
| .github/aw/releases.json | Adds aliases entries (latest, stable) to the releases configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Restore cache-memory file share data | ||
| uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| key: memory-approved-0072b676-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ github.run_id }} | ||
| key: memory-approved-6f25a3c0-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ github.run_id }} | ||
| path: /tmp/gh-aw/cache-memory | ||
| restore-keys: | | ||
| memory-approved-0072b676-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}- | ||
| memory-approved-6f25a3c0-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}- |
There was a problem hiding this comment.
The PR description and title focus on adding an aliases map to .github/aw/releases.json, but this workflow lock file also changes (cache key suffix update and a new trusted-users guard policy wiring). If these workflow changes are intentional, please update the PR description to include them; otherwise, consider reverting this file to keep the PR scoped to the releases config/schema update.
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/d78f9e5d-0cd7-451a-88cb-76529627d9ed Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fixed in ad78870. The CI validation script in |
Summary
Adds a release alias map to
.github/aw/releases.jsonand updates the JSON schema accordingly.Changes
aliasesfield to.github/aw/releases.json:latest→"latest"(always resolves to the most recent release)stable→"v0.64.5".github/aw/releases.schema.jsonto define thealiasesproperty as a map of alias names to version strings (acceptinglatestorvMAJOR.MINOR.PATCHformat)