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.
This commit is contained in:
Daniel Nephin 2021-05-06 12:26:10 -04:00 committed by GitHub
parent ff4ad0c853
commit 5c7b0e6339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -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: