Skip to content

Conversation

skipkayhil
Copy link
Member

Currently, documentation changes require contributors to add a variation of "ci skip" to their pull request in order to not run the full Rails test suite. However, it requires contributors to know about this feature in order to use it (to get faster/less flaky builds).

This commit tries to remove the requirements of that knowledge by automatically skipping the full test suite in some cases (currently when all changed files are markdown).

It also introduces a new opt-out "ci full" which can be used in cases where the automatic opt-out is undesired for some reason.

Currently, documentation changes require contributors to add a variation
of "ci skip" to their pull request in order to not run the full Rails
test suite. However, it requires contributors to know about this feature
in order to use it (to get faster/less flaky builds).

This commit tries to remove the requirements of that knowledge by
automatically skipping the full test suite in some cases (currently when
all changed files are markdown).

It also introduces a new opt-out "ci full" which can be used in cases
where the automatic opt-out is undesired for some reason.
@skipkayhil
Copy link
Member Author

Opening the PR as a proof of concept/for feedback, but I still need to figure out how to test this.

@zzak
Copy link
Member

zzak commented Sep 22, 2025

Happy to help test it, maybe we can 🍐 sometime :)

@rafaelfranca
Copy link
Member

Should we skip everything? The markdown linters and the guides inspector should still run, no?

@skipkayhil
Copy link
Member Author

Should we skip everything? The markdown linters and the guides inspector should still run, no?

Those tasks are defined above this block so they should still run. (This should be equivalent to what adding [ci skip] does currently, it just happens automatically instead)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants