mirror of
https://github.com/status-im/consul.git
synced 2025-02-13 14:16:35 +00:00
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:
parent
a43731fc32
commit
6858a8caf5
@ -850,8 +850,21 @@ jobs:
|
|||||||
"https://circleci.com/api/v1.1/project/github/hashicorp/consul-enterprise/tree/${CIRCLE_BRANCH}" | jq -r '.build_url'
|
"https://circleci.com/api/v1.1/project/github/hashicorp/consul-enterprise/tree/${CIRCLE_BRANCH}" | jq -r '.build_url'
|
||||||
- run: *notify-slack-failure
|
- 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:
|
workflows:
|
||||||
version: 2
|
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:
|
go-tests:
|
||||||
jobs:
|
jobs:
|
||||||
- check-vendor: &filter-ignore-non-go-branches
|
- check-vendor: &filter-ignore-non-go-branches
|
||||||
|
Loading…
x
Reference in New Issue
Block a user