I'm trying to find out the best way to do the following: Let's say we have 2 branches - develop and master after a push in 'develop' I want to trigger a CI\CD job, and it's working fine but the tricky part is to do same thing for the 'master branch' I mean, after the 'develop' branch finished and merged the changes into master. Shouldn't the Webhook consider that as a 'push' and activate the CI again?
So just to be clear, the webhook is only working for the 'develop' ci\cd job and not continuing to 'master'. (working actions are in bold) push to 'develop' -> trigger CI --> if pass trigger CD --> if pass trigger CI for 'master'