Build error on ignored branch?

I have the following filter config:

filters:
    branches:
        ignore: gh-pages

However, when I push to gh-pages, CircleCi starts a job that fails with the following logs:

#!/bin/sh -eo pipefail
# No configuration was found in your project. Please refer to https://circleci.com/docs/2.0/ to get started with your configuration.
#
# -------
# Warning: This configuration was auto-generated to show you the message above.
# Don’t rerun this job. Rerunning will have no effect.
false
Exited with code 1

Here’s a link to the said job. Is there something I’m doing wrong or is this normal behaviour (to start a job that always fails)?

1 Like

Hi Paul. It looks like that tree doesn’t have a config file, which is why you are getting that error https://github.com/AztecProtocol/AZTEC/tree/1c66871801262c22d85a3afc5419f72103dee07d

If we can’t see the config, we don’t know to not try and run a job.