Skip to content

fix(workflows): allow doc-freshness-check to patch safeoutput source files#816

Merged
jamesadevine merged 2 commits into
mainfrom
copilot/aw-fix-documentation-freshness-check-again
Jun 1, 2026
Merged

fix(workflows): allow doc-freshness-check to patch safeoutput source files#816
jamesadevine merged 2 commits into
mainfrom
copilot/aw-fix-documentation-freshness-check-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 1, 2026

Summary

The Documentation Freshness Check workflow failed during safe output processing because its PR patch touched src/safeoutputs/create_work_item.rs and src/safeoutputs/update_work_item.rs, which were not permitted by create-pull-request.allowed-files.

  • Safe output policy alignment
    • Updated .github/workflows/doc-freshness-check.md to allow the two safeoutput Rust files that the workflow currently audits/edits.
  • Compiled workflow sync
    • Regenerated .github/workflows/doc-freshness-check.lock.yml so runtime GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG matches source front matter.
safe-outputs:
  create-pull-request:
    allowed-files:
      - AGENTS.md
      - README.md
      - docs/**
      - prompts/**
      - src/safeoutputs/create_work_item.rs
      - src/safeoutputs/update_work_item.rs

Test plan

Template section retained. Validation details are captured in CI/tooling outputs for this PR.

Copilot AI linked an issue Jun 1, 2026 that may be closed by this pull request
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix documentation freshness check error in workflow fix(workflows): allow doc-freshness-check to patch safeoutput source files Jun 1, 2026
Copilot AI requested a review from jamesadevine June 1, 2026 10:43
@jamesadevine jamesadevine marked this pull request as ready for review June 1, 2026 19:10
@jamesadevine jamesadevine merged commit d16f808 into main Jun 1, 2026
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