Skip to content

W-22970552: Skip PR CI for doc-only changes#2928

Merged
wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:skip-ci-doc-only-prs
Jun 13, 2026
Merged

W-22970552: Skip PR CI for doc-only changes#2928
wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:skip-ci-doc-only-prs

Conversation

@wmathurin

Copy link
Copy Markdown
Contributor

Summary

Add paths-ignore to the PR workflow trigger so that pull requests touching only documentation files (.md, LICENSE, .gitignore, CODEOWNERS) skip CI entirely.

Change

paths-ignore:
  - '**/*.md'
  - 'LICENSE'
  - '.gitignore'
  - 'CODEOWNERS'

Why

Running full build and test suites on doc-only PRs wastes CI resources with no benefit — documentation changes cannot affect build or test outcomes. Nightly workflows are intentionally unchanged.

GUS

W-22970552

Test plan

  • Open a PR touching only a .md file — CI should not trigger
  • Open a PR touching a source file + a .md file — CI should trigger normally

@wmathurin wmathurin merged commit 5184617 into forcedotcom:dev Jun 13, 2026
9 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.

2 participants