Skip to content

Regenerate pr-docs workflow with gh-aw v0.67.2#15943

Merged
IEvangelist merged 2 commits intomicrosoft:mainfrom
IEvangelist:dapine/pr-docs-check-fix-15929-followup
Apr 7, 2026
Merged

Regenerate pr-docs workflow with gh-aw v0.67.2#15943
IEvangelist merged 2 commits intomicrosoft:mainfrom
IEvangelist:dapine/pr-docs-check-fix-15929-followup

Conversation

@IEvangelist
Copy link
Copy Markdown
Member

@IEvangelist IEvangelist commented Apr 7, 2026

Description

Follow-up to the still-broken pr-docs-check workflow after #15929.

Root cause

Run https://github.com/microsoft/aspire/actions/runs/24102304492 fails in activation during Check workflow lock file because the checked-in lock file drifted from .github/workflows/pr-docs-check.md.

What this changes

  • Recompiles pr-docs-check.lock.yml from the current markdown source so the activation hash check passes again.
  • Regenerates the workflow with the official gh-aw v0.67.2 release binary, so the generated workflow keeps the cross-repo checkout token in the agent job instead of the stripped activation output pattern.
  • Updates .github/aw/actions-lock.json with the corresponding github/gh-aw-actions/setup@v0.67.2 pin.
  • Preserves the small least-privilege permission trim that was already needed for this workflow.

Notes

  • gh extension upgrade gh-aw currently follows the stable GitHub release API and downgrades back to v0.67.1, because v0.67.2 is published as a prerelease.
  • This branch was compiled with the official v0.67.2 Windows release binary directly so the checked-in workflow now records compiler_version: v0.67.2.

Regenerate the lock file from the current pr-docs-check markdown source so activation no longer fails the stale lock-file hash check. Preserve the existing same-job checkout-token workaround in the generated workflow so the agent can still check out aspire.dev.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15943

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15943"

Recompile the pr-docs-check workflow with the official gh-aw v0.67.2 release binary so the generated workflow records the correct compiler version and keeps the cross-repo checkout token in the agent job. Include the corresponding gh-aw-actions setup pin in .github/aw/actions-lock.json and preserve the least-privilege permission trim in the generated lock file.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@IEvangelist IEvangelist changed the title Sync pr-docs workflow lock file with current source Regenerate pr-docs workflow with gh-aw v0.67.2 Apr 7, 2026
@IEvangelist IEvangelist marked this pull request as ready for review April 7, 2026 20:50
Copilot AI review requested due to automatic review settings April 7, 2026 20:50
@IEvangelist IEvangelist enabled auto-merge (squash) April 7, 2026 20:52
Copy link
Copy Markdown
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

Restores the reliability of the pr-docs-check agentic workflow by regenerating its compiled lock file and updating the pinned gh-aw setup action to match v0.67.2, aligning the generated workflow with the current markdown source and compiler behavior.

Changes:

  • Recompiled pr-docs-check.lock.yml to match .github/workflows/pr-docs-check.md and record gh-aw v0.67.2 metadata/pins.
  • Updated the generated workflow content to the v0.67.2 output shape (including the safe-outputs tooling generation and checkout/token step ordering in the agent job).
  • Added the corresponding github/gh-aw-actions/setup@v0.67.2 entry to .github/aw/actions-lock.json.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/pr-docs-check.lock.yml Regenerated lock workflow (metadata hash, setup action pin, and generated step structure) using gh-aw v0.67.2.
.github/aw/actions-lock.json Adds the setup@v0.67.2 pin entry used by the regenerated workflow.

@IEvangelist IEvangelist merged commit 269a7e9 into microsoft:main Apr 7, 2026
268 checks passed
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