Workflow successful finish not reported to GitHub

github
workflow

#1

We have a workflow that is:

workflows:
  version: 2
  build_and_deploy:
    jobs:
      - build
      - deploy_prod:
          requires:
            - build
          filters:
            tags:
              # run CircleCI on tag create
              only: /^v[0-9]+(\.[0-9]+)*/
            branches:
              ignore: /.*/
      - deploy_stag:
          requires:
            - build
          filters:
            branches:
              # run CircleCI on push to master only (usually from a PR)
              only: master

The build finishes successfully but CircleCI is not reporting back to GitHub:

This the workflow in CIrcleCI:

and the build job:

build:
    docker:
      - image: circleci/node:8.4.0
      - image: circleci/mongo:3.5.6

    working_directory: ~/amio-whatsapp

    steps:
      - checkout

      # Download and cache dependencies
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "package.json" }}
          # fallback to using the latest cache if no exact match is found
          - v1-dependencies-

      - run: npm install

      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package.json" }}

      - run:
          name: Test - units
          command: npm run-script test-units

      - run:
          name: Test - integrations
          command: npm run-script test-integrations

Is this a bug or have I missed something?


#2

Hello,

It looks like you are running into this issue, can you take a look please? https://circleci.com/docs/2.0/workflows-waiting-status/


#3

Yep, it was that! Thank you!


#4

This topic was automatically closed after 5 hours. New replies are no longer allowed.