[Debian-salsa-ci] How to skip Salsa CI to avoid unnecessary CI runs
Otto Kekäläinen
otto at debian.org
Mon Aug 25 21:43:59 BST 2025
Hi,
> On 24/08/25 at 12:18 -0700, Otto Kekäläinen wrote:
...
> > I just noticed one developer pushed git commits to 493 different
> > packages in Salsa, triggering hundreds of Salsa CI pipelines.
>
> I think that was me (during adding debian/gbp.conf files to many
> packages, during DEP-14 migration).
Could you perhaps limit your updates to maybe max 100 commits per day?
I suspect this is blocking a lot of other people from doing the
development and uploads they were planning to do.
...
> > 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.
More information about the Debian-salsa-ci
mailing list