Skip to content

Conversation

@kwin
Copy link
Member

@kwin kwin commented Nov 19, 2025

This leads to skipping this commit from auto-building with most CI/CD systems.
Compare with
https://docs.github.com/en/actions/how-tos/manage-workflow-runs/skip-workflow-runs, https://docs.gitlab.com/ci/pipelines/#skip-a-pipeline and https://plugins.jenkins.io/scmskip/

This closes #1422

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Your pull request should address just one issue, without pulling in other changes.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Each commit in the pull request should have a meaningful subject line and body.
    Note that commits might be squashed by a maintainer on merge.
  • Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
    This may not always be possible but is a best-practice.
  • Run mvn verify to make sure basic checks pass.
    A more thorough check will be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its verify).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@kwin kwin changed the title Include "[ci-skip]" by default in scmReleaseCommitComment Include "[ci skip]" by default in scmReleaseCommitComment Nov 19, 2025
@kwin
Copy link
Member Author

kwin commented Nov 19, 2025

Now I just need to make GitHub build this branch (despite containing "[ci skip]" in the commit message)...

@slawekjaranowski
Copy link
Member

Now I just need to make GitHub build this branch (despite containing "[ci skip]" in the commit message)...

😄 try simple [ci skip] -> ci skip

@kwin
Copy link
Member Author

kwin commented Nov 19, 2025

Let's trust the Jenkins build in this case

Copy link
Member

@slawekjaranowski slawekjaranowski left a comment

Choose a reason for hiding this comment

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

Should we mark this change as braking ... to point about check by users during upgrade

@slawekjaranowski
Copy link
Member

@kwin I can release next version in a few days after my PR merge ...
I would like to check something more 😄

@kwin kwin added breaking Pull requests that break existing features enhancement New feature or request labels Nov 19, 2025
@kwin kwin merged commit 0856b12 into master Nov 19, 2025
16 checks passed
@kwin kwin deleted the feature/ci-skip branch November 19, 2025 11:21
@github-actions github-actions bot added this to the 3.2.1 milestone Nov 19, 2025
@nomis
Copy link

nomis commented Dec 4, 2025

CI skipping is for things like trivial typos, not the release version of software. If there's a problem with a particular CI implementation when building release versions it should be resolved in that CI build, don't disable CI for everyone who performs releases of software built using Maven's built-in release plugin.

rvesse added a commit to rvesse/maven-release that referenced this pull request Dec 8, 2025
This reverts PR apache#1423 which added the ci skip text into the default
release commit.  This broke many developers workflows because it pushes
a choice about CI/CD process into default configuration.  If developers
genuinely want to skip CI/CD for the release commit then they already
had configuration to override the commit message and inject the
necessary ci skip text.  However, the maven-release-plugin itself should
not make any assumptions about developers CI/CD setups, nor do anything
by default that might cause those to skip release commit builds that
developers might be relying upon.
rvesse added a commit to rvesse/maven-release that referenced this pull request Dec 9, 2025
This reverts PR apache#1423 which added the ci skip text into the default
release commit.  This broke many developers workflows because it pushes
a choice about CI/CD process into default configuration.  If developers
genuinely want to skip CI/CD for the release commit then they already
had configuration to override the commit message and inject the
necessary ci skip text.  However, the maven-release-plugin itself should
not make any assumptions about developers CI/CD setups, nor do anything
by default that might cause those to skip release commit builds that
developers might be relying upon.
kwin pushed a commit that referenced this pull request Dec 9, 2025
This reverts PR #1423 which added the ci skip text into the default
release commit.  This broke many developers workflows because it pushes
a choice about CI/CD process into default configuration.  If developers
genuinely want to skip CI/CD for the release commit then they already
had configuration to override the commit message and inject the
necessary ci skip text.  However, the maven-release-plugin itself should
not make any assumptions about developers CI/CD setups, nor do anything
by default that might cause those to skip release commit builds that
developers might be relying upon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Pull requests that break existing features enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include "[skip ci]" by default in m-release-p:prepare scmReleaseCommitComment

3 participants