Skip to content

fix(workflows): prevent doc-freshness-check from modifying source files#735

Closed
Copilot wants to merge 7 commits into
mainfrom
copilot/aw-fix-documentation-freshness-check
Closed

fix(workflows): prevent doc-freshness-check from modifying source files#735
Copilot wants to merge 7 commits into
mainfrom
copilot/aw-fix-documentation-freshness-check

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 24, 2026

  • Add ## Scope Restriction section to doc-freshness-check prompt
  • Add create-issue safe output with labels: [source-code, docs]
  • Instruct agent to file issues for source-code drift via create-issue
  • Regenerate doc-freshness-check.lock.yml
  • Merge latest main (through 8b10d17 — adds dev.azure.com and learn.microsoft.com to network allowed lists, bumps to v0.75.3)
  • Recompile all 15 workflows

Copilot AI changed the title [WIP] Fix documentation freshness check workflow failure fix(workflows): prevent doc-freshness-check from modifying source files May 24, 2026
Copilot AI requested a review from jamesadevine May 24, 2026 11:52
Copy link
Copy Markdown
Collaborator

@jamesadevine jamesadevine left a comment

Choose a reason for hiding this comment

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

@copilot Add create-issue safeoutputs and advise the agent to file an issue for incorrect source code documents. Add the tags source-code and docs

…porting

Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/b01a5494-9279-476f-9d4c-8253bc004a62

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 24, 2026

@copilot Add create-issue safeoutputs and advise the agent to file an issue for incorrect source code documents. Add the tags source-code and docs

Done in 67d078c. Added create-issue to safe-outputs: with labels: [source-code, docs] and updated the Scope Restriction section to instruct the agent to call create-issue when it finds source-code drift it cannot fix through documentation updates alone. The lock file has been regenerated.

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/graphql
    • Triggering command: /usr/bin/gh gh release list --repo github/gh-aw --limit 5 (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.68.1
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.68.1 --jq .object.sha (http block)
  • https://api.github.com/repos/github/gh-aw/releases/latest
    • Triggering command: /usr/bin/gh gh extension upgrade aw (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from jamesadevine May 24, 2026 11:59
@jamesadevine
Copy link
Copy Markdown
Collaborator

@copilot Merge latest main and recompile the workflows.

Copilot AI and others added 2 commits May 24, 2026 15:37
…ntation-freshness-check

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/125a1c71-f419-42f2-816d-9ae07cbd9e6b

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 24, 2026

@copilot Merge latest main and recompile the workflows.

Done in 0ea993a. Merged latest main (through 4960dd2) and recompiled all 15 workflows. Note: update-awf-version.md has a pre-existing compile error on main (state-reason is no longer a valid close-issue field — unrelated to this PR).

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
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.68.1 --jq .object.sha (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 2 commits May 24, 2026 17:52
…ntation-freshness-check

# Conflicts:
#	.github/aw/actions-lock.json
#	.github/workflows/bash-lint-auditor.lock.yml
#	.github/workflows/change-risk.lock.yml
#	.github/workflows/clippy-fixer.lock.yml
#	.github/workflows/cyclomatic-complexity-reducer.lock.yml
#	.github/workflows/doc-freshness-check.lock.yml
#	.github/workflows/docs-writer.lock.yml
#	.github/workflows/frontmatter-aligner.lock.yml
#	.github/workflows/issue-plan-maker.lock.yml
#	.github/workflows/red-team-security.lock.yml
#	.github/workflows/rust-pr-reviewer.lock.yml
#	.github/workflows/rust-review-command.lock.yml
#	.github/workflows/scout-command.lock.yml
#	.github/workflows/test-gap-finder.lock.yml
#	.github/workflows/test-reducer.lock.yml

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/3691902a-85ad-42e5-9aaf-045dfa501d6a

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
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.

[aw] Documentation Freshness Check failed

2 participants