I’ve followed the instructions here to ignore all but a specific set of branches when posting notifications of build failure/fix in circle:
However, I’m noticing recently that CircleCI is still posting notifications to the webhook I have configured for branches that are not on the whitelist. For example, I have a branch “myfeature” and push that up to github where a build with circleci gets triggered. Here’s what my circle.yml looks like for notify override:
experimental: notify: branches: only: - staging - production
Even though myfeature is not in the ‘only’ stanza, a notification is nevertheless posted by circle.