CircleCI 2.0 预定工作流不是 运行

CircleCI 2.0 Scheduled workflow not running

我有一个计划的工作流程突然停止 运行ning。它应该每周 运行 一次,最后一次 运行 配置看起来像

workflows:
  version: 2
  commit-workflow:
    jobs:
      - deploy-dev:
          context: msd-npn-site-deploy
      - deploy-stg:
          requires:
            - deploy-dev
          context: msd-npn-site-deploy
  scheduled-workflow:
    triggers:
      - schedule:
          cron: "0 5 * * 1"
          filters:
            branches:
              only:
                - master
    jobs:
      - build-ami:
          context: msd-npn-packer-credentials
      - refresh-dev:
          requires:
            - build-ami
          context: msd-npn-site-deploy
      - hold:
          type: approval
          requires:
            - refresh-dev
      - refresh-stg:
          requires:
            - hold
          context: msd-npn-site-deploy

在 运行 期间,它在 refresh-stg 步骤上失败了。然后我将其更改为

workflows:
  version: 2
  commit-workflow:
    jobs:
      - deploy-dev:
          context: msd-npn-site-deploy
      - deploy-stg:
          requires:
            - deploy-dev
          context: msd-npn-site-deploy
      - hold:
          type: approval
          requires:
            - deploy-stg
      - deploy-prod:
          requires:
            - hold
          context: msd-prod-site-deploy
  scheduled-workflow:
    triggers:
      - schedule:
          #cron: "0 5 * * 1"
          cron: "* * * * *"
          filters:
            branches:
              only:
                - master
    jobs:
      - build-ami:
          context: msd-npn-packer-credentials
      - refresh-dev:
          requires:
            - build-ami
          context: msd-npn-site-deploy
      - hold:
          type: approval
          requires:
            - refresh-dev
      - refresh-stg:
          requires:
            - hold
          context: msd-npn-site-deploy
      - hold:
          type: approval
          requires:
            - refresh-stg
      - refresh-prod:
          requires:
            - hold
          context: msd-prod-site-deploy

它停止了 运行ning。我现在将 cron 设置为每分钟 运行 以测试 cron: "* * * * *" 并且它根本不是 运行ning。提交工作流程正在运行。 b运行ch大师正确

问题是我有两个同名的审批工作hold。给他们不同的名字解决了这个问题。