Closed binkley closed 6 years ago
This is not a great solution from Circle. It relies on devs adding their own local git hooks scripts. A better solution is to teach Circle CI to handle .ciignore
itself, but that's not an option at this time.
Also, the suggested git hook script depends on a BASH which supports mapfile
.
The suggested commit hook script did not work.
Skipping README.me
and LICENSE.md
using CI ignore file.
Narrative
AS A developer I WANT to skip Circle CI builds if no code changed SO THAT builds are faster
Context
See https://circleci.com/blog/circleci-hacks-automate-the-decision-to-skip-builds-using-a-git-hook/.
Acceptance criteria
GIVEN a Circle CI build of Sproink WHEN I push a commit which changes only
README.me
THEN no CI build takes place because of this commit