gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
933 stars 63 forks source link

Prepend [skip ci] to commit messages by default #89

Closed zackproser closed 2 years ago

zackproser commented 2 years ago

Description

Fixes #88 .

TODOs

Read the Gruntwork contribution guidelines.

Release Notes (draft)

Added / Removed / Updated [X].

Migration Guide

Starting with this release, git-xargs will automatically prepend [skip ci] to commit messages it authors, unless you pass the new flag --no-skip-ci to opt out of this behavior.

This change is intended to make git-xargs safer to use for large jobs that might otherwise lead to excessive continuous integration jobs that might also be costly.

If you use git-xargs in scripts or automated workflows and do not wish to have [skip ci] prepended to every commit message, be sure to pass the --no-skip-ci flag.

Alternatively, if you wish to use a different prefix other than [skip ci], you can write the string literal into your commit messages like so --commit-message [skip-azure] and then pass the --no-skip-ci flag.

zackproser commented 2 years ago

Thanks for review! Going to merge this in now.