Hi - brand new to CircleCI and one of the quirks I’ve notice so far is a new build being created on every commit to the repo, however only triggering a build when the branch being committed to is the one specified in a filters > branches > only stanza. Is there a way to prevent the pipline from being created at all, if it is not going to produce a build?
Welcome to CircleCI!
By default, CircleCI builds every commit from every branch. Below is a list of useful features you might want to consider:
- Filter by Branches & Tags.
- Only Build Pull Requests
- Logic Statements. Here is an example of: using logic in configuration