fix(ci): allow doc freshness workflow to update AGENTS.md#452
Merged
Conversation
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/b6946780-2428-4303-a9a2-3dda1beab4a9 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configure protected files fallback for documentation freshness check
fix(ci): allow doc freshness workflow to update AGENTS.md
May 8, 2026
jamesadevine
approved these changes
May 8, 2026
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.
Summary
The Documentation Freshness Check workflow failed in
safe_outputsbecause generated docs patches touchedAGENTS.md, which is protected by default forcreate_pull_request. This change scopes an explicit exception for that workflow so doc-drift fixes can be proposed without weakening broader protections.Workflow policy adjustment
.github/workflows/doc-freshness-check.mdto allowAGENTS.mdinsafe-outputs.create-pull-request.allowed-files.Compiled workflow sync
.github/workflows/doc-freshness-check.lock.ymlso runtime safe-output handler config includes the same allowlist.Effective config change (excerpt)
Test plan
doc-freshness-checkworkflow definition was recompiled/validated to confirm the generated lock config carriesallowed_files: ["AGENTS.md"]forcreate_pull_request.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.68.1/usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.68.1 --jq .object.sha -C debuginfo=2 --check-cfg cfg(docsrs,test) --check-cfg cfg(feature, values()) -C 887.�� ipeline-filter-a--error-format=json t6k.rcgu.o bin/rustc t6k.rcgu.o t6k.rcgu.o t6k.rcgu.o bin/rustc(http block)/usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.68.1 --jq .object.sha target/debug/deps/cli_tests-ed0b7304d63a7e6f.18k6h7971v4iunaqu3s0y15b7.1e82akx.rcgu.o target/debug/deps/cli_tests-ed0b7304d63a7e6f.1jdgsuuy78aa4hkz1krzxiwb2.1e82akx.rcgu.o bin/rustc target/debug/depcc .o .o bin/rustc .o .o .o bin/rustc .o .o .o bin/rustc(http block)spsprodeus21.vssps.visualstudio.com/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-a3f02ec5a93c8182 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-a3f02ec5a93c8182 --hash-style=gnu --as-needed -shared -z relro -o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/libado_aw_derive-200f38d8081bc/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/compiler_tests-404504f8280230b7.331dlyqpp92h89r8divrvps39.0po1tak.rcgu.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustcVThTdn/raw-dylibs -L/home/REDACTED/.rustup/toolchains/stable-x86_64-REDACTED-linux-gnu/lib/rustlib/x86_64-REDACTED-linux-gnu/lib o-aw�� ib e2.rlib f/idna-1.1.0/src-m c1063f.rlib s/futures_macro--flavor s/futures_macro-gnu known-linux-gnu/-plugin(dns block)spsprodweu4.vssps.visualstudio.com/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-a3f02ec5a93c8182 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-a3f02ec5a93c8182 --hash-style=gnu --as-needed -shared -z relro -o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/libado_aw_derive-200f38d8081bc/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/compiler_tests-404504f8280230b7.331dlyqpp92h89r8divrvps39.0po1tak.rcgu.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustcVThTdn/raw-dylibs -L/home/REDACTED/.rustup/toolchains/stable-x86_64-REDACTED-linux-gnu/lib/rustlib/x86_64-REDACTED-linux-gnu/lib o-aw�� ib e2.rlib f/idna-1.1.0/src-m c1063f.rlib s/futures_macro--flavor s/futures_macro-gnu known-linux-gnu/-plugin(dns block)If you need me to access, download, or install something from one of these locations, you can either: