Skip to content

ci: add conditionals for docs-only checks#545

Closed
medubelko wants to merge 1 commit into
canonical:mainfrom
medubelko:work/craft-5211-docs-conditional-ci
Closed

ci: add conditionals for docs-only checks#545
medubelko wants to merge 1 commit into
canonical:mainfrom
medubelko:work/craft-5211-docs-conditional-ci

Conversation

@medubelko
Copy link
Copy Markdown
Contributor

Add conditionals to skip required checks and unnecessary operations.


  • I've followed the contribution guidelines.
  • I've signed the CLA.
  • I've successfully run make lint && make test.
  • I've added or updated any relevant documentation.
  • In documents I changed, I added a meta description if one was missing.
  • I've updated the relevant release notes.

Copilot AI review requested due to automatic review settings June 4, 2026 00:49
@medubelko medubelko closed this Jun 4, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a path-based filter stage to the QA workflow so downstream lint/test reusable workflows can conditionally skip work (intended for docs-only changes) while still reporting required check results.

Changes:

  • Introduces a filter job using dorny/paths-filter to detect whether “source files” changed.
  • Wires the filter result into the existing lint and test reusable workflow calls via a source-files input.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/qa.yaml
Comment on lines +13 to +15
filter:
runs-on: ubuntu-slim
outputs:
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.

2 participants