Skip CI for documentation-only changes - #11
Conversation
There was a problem hiding this comment.
💡 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".
| pull_request: | ||
| paths-ignore: | ||
| - "docs/**" | ||
| - "**/*.md" |
There was a problem hiding this comment.
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 👍 / 👎.
What changed
docs/**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
paths-ignorefilters for bothpushandpull_request