[skip changelog] Run CI workflows that are useful to contributors on pushes to any branch #887
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please check if the PR fulfills these requirements
before creating one)
Feature.
Contributors should run CI in their feature branch to make sure it's passing before submitting a PR. However, the CI workflows are configured to run only on pushes to the
master
branch, meaning that contributors need to modify the workflows just to get them to run on a feature branch. It's very unlikely that a contributor would do that, so they are more likely to just submit the PR, then if CI on the PR fails push fixup commits until CI is passing.Workflows that are useful to contributors are configured to be triggered by pushes to any branch.
The
docs
workflow had two distinct uses:Only the first use is of interest to contributors, so it was easiest to split that workflow into two, and only configure the validation workflow to run on pushes to any branch.
No
The current
test
workflow fails when run in a fork, which will be more likely to occur after the change made in this PR. That issue is fixed by #886