Repository navigation
fix(workflows): recompile agentic workflows with gh-aw v1.0.1 - #258
Merged
Merged
Conversation
ubuntu-latest moved to Ubuntu 26.04, whose sudo-rs drops RUNNER_TEMP under sudo -E. The v0.68.1 lock files then ran /gh-aw/actions/copilot_driver.cjs and every agent step failed (github/gh-aw#72489, fixed in v1.0.1 by github/gh-aw#72409). - Recompile all three workflows with gh-aw v1.0.1 (AWF v0.29.0) - course-updater: read the changelog with gh api; v1.0.1 rejects the Copilot web-fetch tool in this mode - translation-polisher: rename deprecated labels to required-labels
|
|
||
| - https://github.com/github/copilot-cli/blob/main/changelog.md — CLI changelog | ||
| ```bash | ||
| gh api repos/github/copilot-cli/contents/changelog.md -H "Accept: application/vnd.github.raw" |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The workflow’s gh api changelog read cannot run in the compiled sandbox because it lacks both GitHub CLI credentials and network access to api.github.com.
1 open issue
What changed in this PR
Updates the course repository’s agentic maintenance workflows to gh-aw v1.0.1 to address Copilot CLI startup failures on newer Ubuntu runners.
Changes:
- Regenerates Course Updater with updated runtime dependencies and rootless firewall execution.
- Replaces Course Updater’s
web-fetchinstructions withgh apiand migrates Translation Polisher torequired-labels. - Updates the workflow setup action pin and generated-file attributes.
| File | Description |
|---|---|
.github/workflows/translation-polisher.md |
Renames the deprecated label requirement setting. |
.github/workflows/course-updater.md |
Switches changelog retrieval to gh api and removes unused web-fetch configuration. |
.github/workflows/course-updater.lock.yml |
Regenerates execution, security, and reporting steps with gh-aw v1.0.1. |
.github/aw/actions-lock.json |
Pins the gh-aw setup action to v1.0.1. |
.gitattributes |
Retains generated-file marking while removing merge=ours for workflow locks. |
Review effort: Max (auto)
|
|
||
| - https://github.com/github/copilot-cli/blob/main/changelog.md — CLI changelog | ||
| ```bash | ||
| gh api repos/github/copilot-cli/contents/changelog.md -H "Accept: application/vnd.github.raw" |
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.

Why
Since October 26, every agentic workflow run has failed at Execute GitHub Copilot CLI with:
ubuntu-latestmoved from Ubuntu 24.04 to Ubuntu 26.04, which usessudo-rs. Our lock files were compiled with gh-aw v0.68.1. They start the agent firewall withsudo -E, andsudo-rsdoes not passRUNNER_TEMPthrough, so the driver path became/gh-aw/.... This is github/gh-aw#72489, which gh-aw v1.0.1 fixes (github/gh-aw#72409).Affected runs:
What changed
course-updater,traffic-updater, andtranslation-polisherwith gh-aw v1.0.1 (AWF v0.29.0). The lock files keep today's Dependabot action updates.course-updater.md: v1.0.1 rejects the Copilotweb-fetchtool in this mode, so the workflow now readschangelog.mdwithgh api(the release checks already usedgh). I removed the--allow-urlengine flag because onlyweb-fetchused it.translation-polisher.md: renamed the deprecatedlabelstorequired-labels..gitattributesand.github/aw/actions-lock.jsonwere updated bygh aw compile. The compiler no longer addsmerge=oursfor lock files.gh aw compile --validate --actionlint: 3 workflows compiled, 0 warnings, no actionlint issues.After merging
Run Traffic Updater manually (
workflow_dispatch) soon. The October 19–25 traffic data will no longer be available from the GitHub API after November 8.