I have a job which is triggered on a tag. Works well. But, during development process, I tried to repush it again and again, and I noticed that when it was on the same commit, the jobs didn’t trigered at all.
manipulations on same commit :
- local commit #1 -> git tag toto -> git push origin toto -> job triggered
- local commit #1 -> git tag -d toto -> git push origin :toto (delete locally and remotly the tag)
- local commit #1 -> git tag toto -> git push origin toto -> nothing is triggered
on 2 distinct commits :
- local commit #1 -> git tag toto -> git push origin toto -> job triggered
- local commit #1 -> git tag -d toto -> git push origin :toto (delete locally and remotly the tag)
- local commit #2 -> git tag toto -> git push origin toto -> job triggered
I checked the webhooks logs from github and everything was sent.
Seems that circle ci prevent from triggering twice the same build based on a tag push on a same commit, or did I miss something ?
Here is my filter :
filters_tag_public: &filters_tag_public filters: branches: ignore: /.*/ tags: only: /^public$/