In my project, I have buildspec.yml that deploys my app and creates a new release on GitHub.
If I create a new CodeBuild project with the yml file above and watch master branch with GitHub push webhook, it keeps releasing new versions forever...
It seems that if I watch "push" event, the webhook also triggers a new build if new releases (or new tag creation?) is detected. And that release triggers another webhook "push" event, entering infinite release loop.
Is there any way to make the build only reactive to real pushes?
(or perhaps, is making new releases in buildspec.yml not a good practice...?)