Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore(ci): document docs workflow paths-filter intent#2175

Merged
imran-siddique merged 1 commit into
microsoft:mainfrom
aegis-initiative:chore/ci-document-docs-paths-trigger
May 12, 2026
Merged

chore(ci): document docs workflow paths-filter intent#2175
imran-siddique merged 1 commit into
microsoft:mainfrom
aegis-initiative:chore/ci-document-docs-paths-trigger

Conversation

@finnoybu

Copy link
Copy Markdown
Contributor

Summary

.github/workflows/docs.yml triggers on changes to four narrow paths: site/**, mkdocs.yml, docs/**, and the workflow file itself. Why each entry is on the list isn't obvious to a reader trying to extend the doc site — e.g. is docs/** for content, derived API docs, or both? Does mkdocs.yml belong here or in site/**?

The audit asked specifically for mkdocs.yml's presence in the trigger to be documented; while there, every entry deserves a one-liner.

Change

Add a block comment naming each input and explaining the intentional narrow filter:

  • site/** — extra static assets copied into the build
  • mkdocs.yml — site config (nav, theme, plugins)
  • docs/** — the actual markdown sources
  • .github/workflows/docs.yml — itself, so changes to the build/deploy logic still trigger a rebuild even when no content moved

Plus a closing line that names the trade-off explicitly: docs are derived from this input set, not from the full repository.

Pure documentation change; no behavior change.

Verification

  • Diff is 12 inserted comment lines, no YAML keys touched.
  • actionlint parses cleanly.

Surfaced during independent audit conducted by @finnoybu (Ken Tannenbaum, AEGIS Initiative); [LOW, Infrastructure/CI].

`.github/workflows/docs.yml` triggers on changes to four narrow paths:
`site/**`, `mkdocs.yml`, `docs/**`, and the workflow file itself. Why
each entry is on the list isn't obvious to a reader trying to extend
the doc site — e.g. is `docs/**` for content, derived API docs, or
both? does `mkdocs.yml` belong here or in `site/**`?

Add a block comment that names each input and explains the intentional
narrow filter (docs are derived from this input set, not from the full
repository — a Python source change should not republish the docs).

Pure documentation change; no behavior change.
@github-actions

Copy link
Copy Markdown
🤖 AI Agent: docs-sync-checker — Docs Sync

Docs Sync

Documentation is in sync.

@github-actions github-actions Bot added size/S Small PR (< 50 lines) scripts/ci/cd labels May 12, 2026
@github-actions

Copy link
Copy Markdown
🤖 AI Agent: security-scanner — View details

No security issues found.

@github-actions

Copy link
Copy Markdown
🤖 AI Agent: test-generator — View details

Test coverage looks good. No gaps identified.

@github-actions

Copy link
Copy Markdown
🤖 AI Agent: code-reviewer — View details

No issues found. Clean change.

@github-actions

Copy link
Copy Markdown
🤖 AI Agent: breaking-change-detector — View details

No breaking changes detected.

@github-actions

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential NONE
Overall MEDIUM

Automated check by AGT Contributor Check.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor check flagged MEDIUM risk label May 12, 2026
@github-actions

Copy link
Copy Markdown

PR Review Summary

Check Status Details
🔍 Code Review ✅ Passed No issues found
🛡️ Security Scan ✅ Passed No issues found
🔄 Breaking Changes ✅ Passed No issues found
📝 Docs Sync ✅ Passed No issues found
🧪 Test Coverage ✅ Completed Analysis complete

Verdict: ✅ Ready for human review

@imran-siddique imran-siddique merged commit 4172fed into microsoft:main May 12, 2026
13 of 14 checks passed
MohammadHaroonAbuomar pushed a commit to MohammadHaroonAbuomar/agt-acs that referenced this pull request Jun 1, 2026
`.github/workflows/docs.yml` triggers on changes to four narrow paths:
`site/**`, `mkdocs.yml`, `docs/**`, and the workflow file itself. Why
each entry is on the list isn't obvious to a reader trying to extend
the doc site — e.g. is `docs/**` for content, derived API docs, or
both? does `mkdocs.yml` belong here or in `site/**`?

Add a block comment that names each input and explains the intentional
narrow filter (docs are derived from this input set, not from the full
repository — a Python source change should not republish the docs).

Pure documentation change; no behavior change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk scripts/ci/cd size/S Small PR (< 50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants