Repository navigation
fix(workflow): point Learning Hub Updater allowed-files at website content collection 🤖🤖🤖 - #3915
Merged
aaronpowell merged 1 commit intoOct 7, 2026
Conversation
…ntent collection
The Learning Hub content lives in website/src/content/docs/learning-hub,
but the workflow's safe-outputs allowed-files globs still pointed at the
old website/learning-hub location. As a result, the daily run produced
valid content updates that were rejected by the code-push guardrail
("patch modifies files outside the allowed-files list"), leaving the
workflow failing and the Learning Hub stale (see github#3736, github#3720).
- Update allowed-files for create-pull-request and
push-to-pull-request-branch to website/src/content/docs/learning-hub/**/*.md
- Update the stale website/learning-hub path references in the prompt
- Regenerate learning-hub-updater.lock.yml with gh aw compile (v0.88.8)
This was referenced Sep 25, 2026
Contributor
🚦 Submission status: ⏳ Awaiting automationRisk tier: Why this tier
Automated checks
Action needed
Review
Commands
Updated for |
aaronpowell
approved these changes
Oct 7, 2026
5 of 17 tasks
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.
What
The daily Learning Hub Updater agentic workflow keeps failing with a code-push guardrail error:
Blocked files (from the failed runs):
website/src/content/docs/learning-hub/building-custom-agents.md,website/src/content/docs/learning-hub/copilot-configuration-basics.md,website/src/content/docs/learning-hub/creating-effective-skills.md,website/src/content/docs/learning-hub/agents-and-subagents.md,website/src/content/docs/learning-hub/installing-and-using-plugins.md.Root cause
The Learning Hub content now lives in
website/src/content/docs/learning-hub/(thewebsite/learning-hub/directory no longer exists in the repo), but the workflow's safe-outputsallowed-filesglobs were never updated and still point atwebsite/learning-hub/**/*.md. So valid content updates are rejected by the guardrail and the workflow reports a failure every time it has something to update.Changes
.github/workflows/learning-hub-updater.mdcreate-pull-request.allowed-files:website/learning-hub/**/*.md→website/src/content/docs/learning-hub/**/*.mdpush-to-pull-request-branch.allowed-files: same updatewebsite/learning-hubpath references in the prompt to the current location.github/workflows/learning-hub-updater.lock.yml— regenerated withgh aw compile(v0.88.8, the same compiler version the existing lock was generated with), so only the safe-outputs config and source hashes change; no manifest/dependency churnThe new glob matches the same layout convention already used by
advanced-copilot-cli-sync(website/src/content/docs/learning-hub/advanced-copilot-cli/**).Verification
gh aw compile .github/workflows/learning-hub-updater.md→ compiles successfully, 0 warningsallowed-filesglobs, prompt path references, and the regenerated hashes/config in the lock filebash eng/fix-line-endings.shrun before committingFixes #3736
Fixes #3720