From f5afed82c8fd80bc1a75e5359242ab23248c1cb2 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Thu, 6 May 2021 12:26:10 -0400 Subject: [PATCH] ci: add a verify CI job to ensure CI checks are run (#10179) This workflow will be added as a branch protection rule in github. --- .circleci/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c7dadf69b7..48e3fe32c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -958,8 +958,21 @@ jobs: terraform destroy -auto-approve - run: *notify-slack-failure + # The noop job is a used as a very fast job in the verify-ci workflow because every workflow + # requires at least one job. It does nothing. + noop: + docker: + - image: docker.mirror.hashicorp.services/alpine:latest + steps: + - run: 'echo ok' + workflows: version: 2 + # verify-ci is a no-op workflow that must run on every PR. It is used in a + # branch protection rule to detect when CI workflows are not running. + verify-ci: + jobs: [noop] + go-tests: unless: << pipeline.parameters.trigger-load-test >> jobs: