Skip to content

Orchestrate module vs docs pipeline triggers#410

Draft
Marius Storhaug (MariusStorhaug) wants to merge 3 commits into
mainfrom
plan-orchestrator-update
Draft

Orchestrate module vs docs pipeline triggers#410
Marius Storhaug (MariusStorhaug) wants to merge 3 commits into
mainfrom
plan-orchestrator-update

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

  • rename the top-level decision stage from Plan to Orchestrator in reusable workflows
  • split change detection into explicit code and docs pattern groups
  • allow docs/site publish path when docs/layout/config changes are present, even when module tests are skipped

Why

Issue review shows a common request to make pipeline routing event/change-aware rather than relying on one global pattern list. In particular:

Important change model

ImportantFilePatterns now supports grouped patterns in .github/PSModule.yml:

ImportantFilePatterns:
  Code:
    - '^src/(?!.*\.md$).*'
  Docs:
    - '^README\.md$'
    - '^src/.*\.md$'
    - '^\.github/zensical\.toml$'
    - '^zensical\.toml$'
    - '^docs/'

Routing behavior:

  • Code match => module build/test/release path runs
  • Docs match => docs/site build+publish path runs
  • Code match also counts as docs-impacting (generated docs depend on source)

Compatibility

  • Legacy array format for ImportantFilePatterns still works and is treated as the Code list
  • HasImportantChanges remains as a backward-compatible alias for HasModuleChanges
  • New outputs: HasModuleChanges, HasDocsChanges

Scope

No change to module release label semantics; this PR upgrades orchestration/routing decisions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Pass ✅
NATURAL_LANGUAGE Pass ✅
POWERSHELL Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Co-authored-by: Copilot App <223556219+Copilot@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.

Publish docs when layout/config files change in PRs

1 participant