Repository navigation
DOC: Add CI commit message tags and skip labels to overview - #14585
rajuprasad-byte wants to merge 2 commits into
Conversation
Co-authored-by: Carina <carinaforster0611@gmail.com>
tsbinns
left a comment
There was a problem hiding this comment.
@rajuprasad-byte A couple comments.
We should also remove this information from where it currently lives in the contributing guide https://github.com/mne-tools/mne-python/blob/main/doc/development/contributing.rst and replace it with a link to this section in the CI overview page.
| * Add the **skip-changelog** label to skip the changelog check. | ||
| * Add the **skip-fragment** label to bypass the requirement for a news fragment (towncrier). |
There was a problem hiding this comment.
These are not the recognised labels. The labels are skip-changelog-checks, and no-changelog-entry-needed.
| PR labels for skipping checks | ||
| ----------------------------- | ||
|
|
||
| In addition to commit messages, you can apply specific labels to your Pull Request to bypass certain checks: |
There was a problem hiding this comment.
Adding labels to PRs requires elevated privileges (org members, possibly collaborators). Suggest changing the wording from "you can apply labels" to "labels can be applied" or "maintainers can apply labels". Something along those lines.
|
|
||
| You can include specific tags in your commit message to skip certain CI jobs. This is useful for documentation-only changes or minor updates that don't require full testing. | ||
|
|
||
| * ``[skip circle]``: Skips the CircleCI documentation build. |
There was a problem hiding this comment.
[skip circle] also skips the linkcheck. Suggest saying it skips the "CircleCI jobs".
| Commit message tags | ||
| ------------------- | ||
|
|
||
| You can include specific tags in your commit message to skip certain CI jobs. This is useful for documentation-only changes or minor updates that don't require full testing. |
There was a problem hiding this comment.
We also have [skip azure] to skip Azure Pipelines jobs.
| Commit message tags | ||
| ------------------- | ||
|
|
||
| You can include specific tags in your commit message to skip certain CI jobs. This is useful for documentation-only changes or minor updates that don't require full testing. |
There was a problem hiding this comment.
We should mention the override commands rather than just the skipping, e.g., [circle full] https://github.com/mne-tools/mne-python/blob/main/.circleci/config.yml
I would therefore also frame all of this as overriding CI behaviour, rather than skipping jobs.
| Commit message tags | ||
| ------------------- | ||
|
|
||
| You can include specific tags in your commit message to skip certain CI jobs. This is useful for documentation-only changes or minor updates that don't require full testing. |
There was a problem hiding this comment.
We should still mention that [skip ci] is not a valid command.
|
|
||
| * ``[skip circle]``: Skips the CircleCI documentation build. | ||
| * ``[skip actions]``: Skips the GitHub Actions workflows. | ||
| * ``[ci skip]``: Skips most continuous integration checks. |
There was a problem hiding this comment.
[ci skip] should be more specific about what is being skipped.
| Commit message tags | ||
| ------------------- | ||
|
|
||
| You can include specific tags in your commit message to skip certain CI jobs. This is useful for documentation-only changes or minor updates that don't require full testing. |
There was a problem hiding this comment.
It might be worth clarifying that these can skip the jobs running, but it doesn't prevent these jobs being required checks for PRs to be merged.
|
@rajuprasad-byte Would you be able to address those outstanding points, or do you want us to pick it up? |
Fixes #14576.
This PR adds a new section to the CI overview documentation detailing commit message tags (like [skip circle]) and PR labels used to skip specific CI checks