AWS codebuild using Bitbucket source:
Under "Primary source webhook events Info"
and then under: "Start a build under these conditions"
How do you setup the HEAD_REF and BASE_REF properly to trigger a build only on a merge from any branch to the dev branch?
I have tried ^refs/heads/dev$ in the BASE_Ref field, but that didn't work. I have also confirmed that codebuild is connecting to bitbucket:
{
"response": "No build triggered for specified payload",
"statusCode": 200
}