Skip to content

Conversation

@zensgit
Copy link
Owner

@zensgit zensgit commented Sep 24, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings September 24, 2025 02:08
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

Copy link

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

This PR implements a CI optimization that detects documentation-only changes and skips heavy build/test jobs when only docs have been modified. The changes add path filtering to identify docs-only PRs and conditionally execute resource-intensive CI steps.

Key changes:

  • Added a changes job that uses path filtering to detect docs-only modifications
  • Modified existing CI jobs to skip execution when only documentation files are changed
  • Added conditional execution using if: env.DOCS_ONLY != 'true' to resource-intensive steps

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- 'AGENTS.md'
- '.github/*.md'
- 'PR_DESCRIPTIONS/**'
code:
Copy link

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

The code filter pattern !**/*.md will not properly detect code changes when markdown files are modified alongside code files. The paths-filter action requires at least one positive pattern for each filter. Consider adding explicit code patterns like - '**/*.rs', - '**/*.dart', etc., or use - '**' as the first pattern followed by exclusions.

Suggested change
code:
code:
- '**'

Copilot uses AI. Check for mistakes.

- 'docs/**'
- 'README.md'
- 'AGENTS.md'
- '.github/*.md'
Copy link

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

The pattern .github/*.md only matches markdown files directly in the .github directory, but not in subdirectories. Consider using .github/**/*.md to include markdown files in subdirectories like .github/workflows/ or other nested folders.

Suggested change
- '.github/*.md'
- '.github/**/*.md'

Copilot uses AI. Check for mistakes.

@zensgit zensgit merged commit 80d1b0f into main Sep 24, 2025
20 checks passed
@zensgit zensgit deleted the chore/ci-docs-only-fastpath branch September 24, 2025 02:13
@zensgit zensgit mentioned this pull request Oct 15, 2025
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.

1 participant