Pushes to main and new branches are not recognized

Hi, I have set up circleci for a private repo in a GitHub organization but there is an issue. No builds are triggered after a push and new branches aren’t picked up. This is my config.yml

version: 2.1

  snyk: snyk/snyk@1.1.2
  aws-s3: circleci/aws-s3@3.0.0

        working_directory: ~/repo
      - image: cimg/node:current
      - checkout
      - restore_cache:
          key: dependency-cache-{{ checksum "yarn.lock" }}
      - run:
          name: Install Dependencies
          command: yarn
      - save_cache:
          key: dependency-cache-{{ checksum "yarn.lock" }}
            - ./node_modules
      - run:
          name: Run Tests
          command: yarn test
      - snyk/scan:
          fail-on-issues: false
          monitor-on-build: false
          severity-threshold: high

      - pre-build

Your config looks right, so this may be a communication issue. Had this ever been working at some point?

Can you go into the Github settings for the repo and take a look at the sent webhooks? You might see that webhooks are not making it to CircleCI.

If this was working before:
Here’s a guide to fully disconnect a repo from CircleCI, to make sure nothing gets left behind.

Then, you can re-follow the project to re-connect the repo like-new.

Contacting support:
Though you can see if a webhook has failed when sent to CircleCI, we may be able to provide more information about why it failed. If you can contact support and provide your information, they should be able to discover it for you. If you can provide a recent webhook id (around the same time the ticket is submitted) that would be even better.