[Debian-salsa-ci] How to skip Salsa CI to avoid unnecessary CI runs

Simon Josefsson simon at josefsson.org
Tue Aug 26 08:33:49 BST 2025


Lucas Nussbaum <lucas at debian.org> writes:

>> > > If you know you are doing a minor typofix, removing a trailing space
>> > > etc and don't need CI at all, please pass the git option `-o ci.skip`
>> > > when pushing.
>> > >
>> > > Example:
>> > > git push -o ci.skip
>> >
>> > I'm using the GitLab REST API through python-gitlab to automate those
>> > commits. Do you know if there's a way to do the same thing in that case,
>> > other that using "[skip ci]" in the commit message, which pollutes the
>> > git history?
>> 
>> Indeed, it seems to be the case that the API does not offer to pass
>> git options. I added my vote in
>> https://gitlab.com/gitlab-org/gitlab/-/issues/26422 now. Maybe if you
>> add your "user story" they might have more interest in implementing
>> it.
>
> Note that it my case, some pipelines were triggered by adding/changing
> debian/gbp.conf, but others were triggered by branch renames. So even
> using a custom commit message would not work.

Are your scripts to do these mass-commits available somewhere?

I've often wanted to apply the same kind of fix to many packages at the
same time, but I mentally queue them and apply them when updating a
particular package once it is time to work on that package.  This can
take months to complete, and probably leads to mistakes.

/Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1251 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-salsa-ci/attachments/20250826/b7d0cfae/attachment-0001.sig>


More information about the Debian-salsa-ci mailing list