Skip to content

DOC: Add CI commit message tags and skip labels to overview - #14585

Open
rajuprasad-byte wants to merge 2 commits into
mne-tools:mainfrom
rajuprasad-byte:patch-1
Open

rajuprasad-byte wants to merge 2 commits into
mne-tools:mainfrom
rajuprasad-byte:patch-1

Conversation

@rajuprasad-byte

Copy link
Copy Markdown

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

@CarinaFo CarinaFo left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great, thanks for adding the CI tags. just a small formatting fix to make CIs happy.

Could you also add a changelog entry?

Comment thread doc/development/ci_overview.rst Resolved
Co-authored-by: Carina <carinaforster0611@gmail.com>

@tsbinns tsbinns left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

Comment on lines +26 to +27
* Add the **skip-changelog** label to skip the changelog check.
* Add the **skip-fragment** label to bypass the requirement for a news fragment (towncrier).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tsbinns tsbinns Nov 23, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tsbinns tsbinns Nov 23, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tsbinns

tsbinns commented Nov 28, 2026

Copy link
Copy Markdown
Member

@rajuprasad-byte Would you be able to address those outstanding points, or do you want us to pick it up?

This branch has not been deployed

No deployments
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.

Add CI commit message tags to CI overview

3 participants