Kyle Boucher
02/02/2022, 3:42 AMsemantic-release
- semantic-release pushes back to GitHub with generated CHANGELOG
file
- commit: <whatever we need> [skip ci]
- <!>
this commit triggers another build in Seed as it's a push to GitHub
That last step is the problem. A lot of other CI/CD tools support rules for skipping commits such as "contains [skip ci]".
Normally, we would work around this by access the last commit from the git repo and checking it in the build spec, but your docs do not show any way to get the current repo name, or commit message inside the buildspec; there is only $SEED_BRANCH
that relates to the git repo.
So two questions:
1. Is there an environment variable for $SEED_COMMIT
or something equivalent so we can put in a script on before_compile
to force a skip?
2. Is there a way to force a skip from build spec?
ThanksFrank
[skip ci]
support. Should have something very soon. I will keep you posted.Frank
[skip ci]
or [ci skip]
in the commit message. @Kyle Boucher