only/except:changes feature is a potential BUG-hole
Summary
If for example my latest test for /web/**/*
failed. And then I am pushing something into the /Readme.md
, the next build will not re-trigger the web/**/* build
. So the very latest pipeline will be green..
That means, that this feature is a potential bug hole.
Steps to reproduce
- Create a
gitlab-ci.yml
, add a job with the only web// changes restriction. - Push something into the web which will make you test fail.
- Push something unrelated, so the pipeline runs without the web test.
- Now merge, the pipeline is
✅ -
🎉 you have just shot you in the foot🎱