fix(ci): use allowed expression in release dispatcher prompt#26723
fix(ci): use allowed expression in release dispatcher prompt#26723tylerbutler merged 5 commits intomicrosoft:mainfrom
Conversation
Replace `github.event_name` with `env.GH_AW_GITHUB_EVENT_NAME` in the runtime-imported markdown. `github.event_name` is not on gh-aw's safe expression list for runtime imports, causing the interpolation step to fail. The env variable is already set by the compiled workflow.
There was a problem hiding this comment.
Pull request overview
Updates the GitHub “Fluid Release Skill Dispatcher” agentic workflow, including its scheduled trigger time and the compiled gh-aw workflow artifacts used to generate the prompt and dispatch downstream release workflows.
Changes:
- Adjusted weekday schedule cron for the dispatcher workflow.
- Updated compiled workflow wiring for passing GitHub context into the gh-aw prompt (including adding a new env var mapping).
- Updated
.github/aw/actions-lock.jsonto include the gh-aw setup action version used by the regenerated workflow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/fluid-release-skill-dispatcher.md | Updates documented behavior for how scheduled runs are detected. |
| .github/workflows/fluid-release-skill-dispatcher.lock.yml | Regenerated compiled gh-aw workflow; changes cron and context/env propagation into the prompt. |
| .github/aw/actions-lock.json | Adds gh-aw setup action v0.53.2 entry and reformats JSON. |
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the repository’s agentic GitHub workflows generated by gh-aw (and related tooling) to a newer compiler/runtime, alongside a small update to the Fluid release dispatcher prompt.
Changes:
- Regenerated multiple
.lock.ymlworkflows withgh-aw v0.53.2(new activation artifacts, inline threat detection, updated tooling/config scaffolding). - Extended
agentics-maintenance.ymlto support a manual, parameterized maintenance “operation” workflow_dispatch path. - Updated the Fluid release skill dispatcher documentation to reference an environment-provided event name.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/fluid-release-skill-dispatcher.md | Updates dispatcher behavior docs to use an env-based event name check. |
| .github/workflows/fluid-release-skill-dispatcher.lock.yml | Regenerated dispatcher workflow; changes env wiring and prompt substitution inputs. |
| .github/workflows/duplicate-code-detector.lock.yml | Regenerated workflow with updated gh-aw scaffolding and inline threat detection flow. |
| .github/workflows/code-simplifier.lock.yml | Regenerated workflow with updated gh-aw scaffolding, inline threat detection, and safe-output handler updates. |
| .github/workflows/agentics-maintenance.yml | Adds workflow_dispatch operation input and a job to run selected maintenance operations. |
| .github/aw/actions-lock.json | Adds a new pinned setup@v0.53.2 entry (keeps older entry too). |
You can also share your feedback on Copilot code review. Take the survey.
|
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output |
Summary
${{ github.event_name }}with${{ env.GH_AW_GITHUB_EVENT_NAME }}in the release dispatcher workflow markdowngithub.event_nameis not on gh-aw's safe expression list for runtime imports, causing the "Interpolate variables and render templates" step to fail withERR_VALIDATIONGH_AW_GITHUB_EVENT_NAMEenv variable is already populated by the compiled workflow from${{ github.event_name }}Fixes: https://github.com/microsoft/FluidFramework/actions/runs/23070964410