Skip to content

fix(ci): use allowed expression in release dispatcher prompt#26723

Merged
tylerbutler merged 5 commits intomicrosoft:mainfrom
tylerbutler:fix/dispatcher-safe-expression
Mar 16, 2026
Merged

fix(ci): use allowed expression in release dispatcher prompt#26723
tylerbutler merged 5 commits intomicrosoft:mainfrom
tylerbutler:fix/dispatcher-safe-expression

Conversation

@tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Mar 13, 2026

Summary

  • Replaces ${{ github.event_name }} with ${{ env.GH_AW_GITHUB_EVENT_NAME }} in the release dispatcher workflow markdown
  • github.event_name is not on gh-aw's safe expression list for runtime imports, causing the "Interpolate variables and render templates" step to fail with ERR_VALIDATION
  • The GH_AW_GITHUB_EVENT_NAME env variable is already populated by the compiled workflow from ${{ github.event_name }}

Fixes: https://github.com/microsoft/FluidFramework/actions/runs/23070964410

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.
@tylerbutler tylerbutler requested a review from a team March 13, 2026 21:53
@tylerbutler tylerbutler marked this pull request as ready for review March 13, 2026 21:56
Copilot AI review requested due to automatic review settings March 13, 2026 21:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.json to 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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml workflows with gh-aw v0.53.2 (new activation artifacts, inline threat detection, updated tooling/config scaffolding).
  • Extended agentics-maintenance.yml to 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.

@github-actions
Copy link
Contributor

🔗 No broken links found! ✅

Your attention to detail is admirable.

linkcheck output


> fluid-framework-docs-site@0.0.0 ci:check-links /home/runner/work/FluidFramework/FluidFramework/docs
> start-server-and-test "npm run serve -- --no-open" 3000 check-links

1: starting server using command "npm run serve -- --no-open"
and when url "[ 'http://127.0.0.1:3000' ]" is responding with HTTP status code 200
running tests using command "npm run check-links"


> fluid-framework-docs-site@0.0.0 serve
> docusaurus serve --no-open

[SUCCESS] Serving "build" directory at: http://localhost:3000/

> fluid-framework-docs-site@0.0.0 check-links
> linkcheck http://localhost:3000 --skip-file skipped-urls.txt

Crawling...

Stats:
  257792 links
    1822 destination URLs
    2063 URLs ignored
       0 warnings
       0 errors


@tylerbutler tylerbutler requested a review from taylorsw04 March 14, 2026 01:38
@tylerbutler tylerbutler merged commit 2439096 into microsoft:main Mar 16, 2026
25 checks passed
@tylerbutler tylerbutler deleted the fix/dispatcher-safe-expression branch March 16, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants