|
|
|
|
|
|
|
|
|
|
|
|
|
|
markdown_link_check: |
|
|
|
parameters: |
|
|
|
precommit_command: |
|
|
|
type: string |
|
|
|
description: precommit hook to run |
|
|
|
default: markdown-link-check |
|
|
|
docker: |
|
|
|
- image: circleci/node:12.6.0 |
|
|
|
working_directory: ~/repo |
|
|
|
|
|
|
name: Run markdown-link-check via precommit |
|
|
|
command: | |
|
|
|
. venv/bin/activate |
|
|
|
pre-commit run --hook-stage manual markdown-link-check --all-files |
|
|
|
pre-commit run --hook-stage manual << parameters.precommit_command >> --all-files |
|
|
|
|
|
|
|
protobuf_generation_check: |
|
|
|
docker: |
|
|
|
|
|
|
only: /[0-9]+(\.[0-9]+)*(\.dev[0-9]+)*/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |
|
|
|
nightly: |
|
|
|
triggers: |
|
|
|
- schedule: |
|
|
|
cron: "0 0 * * *" |
|
|
|
filters: |
|
|
|
branches: |
|
|
|
only: |
|
|
|
- develop |
|
|
|
jobs: |
|
|
|
- markdown_link_check: |
|
|
|
name: markdown-link-check full |
|
|
|
precommit_command: markdown-link-check-full |