Skip to content

Skip CI for documentation-only changes - #11

Merged
FaulMit merged 1 commit into
mainfrom
agent/skip-docs-ci
Aug 2, 2026
Merged

Skip CI for documentation-only changes#11
FaulMit merged 1 commit into
mainfrom
agent/skip-docs-ci

Conversation

@FaulMit

@FaulMit FaulMit commented Aug 2, 2026

Copy link
Copy Markdown
Owner

What changed

  • skip the Windows Build workflow when a push or pull request changes only files under docs/**
  • skip the same workflow for Markdown-only changes
  • keep CI enabled for application assets, source code, dependencies, installers, tools, and workflow files

Why

The workflow currently runs on every push to main, including screenshot-only commits. GitHub Actions treats every repository commit equally unless path filters are configured.

Validation

  • workflow diff contains valid paths-ignore filters for both push and pull_request
  • whitespace validation passed
  • this PR intentionally changes the workflow itself, so its normal checks still run

@FaulMit
FaulMit marked this pull request as ready for review August 2, 2026 17:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6aa0956f6f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
pull_request:
paths-ignore:
- "docs/**"
- "**/*.md"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep build-input Markdown files in CI

If a pull request deletes THIRD_PARTY_NOTICES.md or renames it to another Markdown path without updating the project, every changed path matches this ignore rule, so CI is skipped. However, src/Captail/Captail.csproj:38-40 explicitly copies that file to the build output and publish directory; the missing source then breaks subsequent builds and releases, while the push to main is skipped as well. Exempt build-input Markdown files from the blanket ignore or narrow the filter to documentation-only Markdown.

Useful? React with 👍 / 👎.

@FaulMit
FaulMit merged commit 50ddbb9 into main Aug 2, 2026
6 checks passed
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