Commit ec104d37 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #5597 from ethereum-optimism/aj/periodic-link-check

ci: Change bedrock link checker to run nightly instead of on every PR
parents 1d99beab 55b49f8a
...@@ -612,10 +612,20 @@ jobs: ...@@ -612,10 +612,20 @@ jobs:
- run: - run:
name: markdown lint name: markdown lint
command: yarn lint:specs:check command: yarn lint:specs:check
bedrock-markdown-links:
machine:
image: ubuntu-2204:2022.07.1
steps:
- checkout
- run: - run:
name: link lint name: link lint
command: | command: |
docker run --init -it -v `pwd`:/input lycheeverse/lychee --verbose --no-progress --exclude-loopback --exclude twitter.com --exclude-mail /input/README.md "/input/specs/**/*.md" make bedrock-markdown-links
- slack/notify:
channel: C055R639XT9 #notify-link-check
event: fail
template: basic_fail_1
fuzz-op-node: fuzz-op-node:
docker: docker:
...@@ -1619,3 +1629,15 @@ workflows: ...@@ -1619,3 +1629,15 @@ workflows:
context: context:
- slack - slack
- oplabs-fpp-nodes - oplabs-fpp-nodes
scheduled-link-check:
triggers:
- schedule:
# Run once a day, only on the develop branch
cron: "0 0 * * *"
filters:
branches:
only: [ "develop" ]
jobs:
- bedrock-markdown-links:
context: slack
...@@ -120,3 +120,6 @@ tag-bedrock-go-modules: ...@@ -120,3 +120,6 @@ tag-bedrock-go-modules:
update-op-geth: update-op-geth:
./ops/scripts/update-op-geth.py ./ops/scripts/update-op-geth.py
.PHONY: update-op-geth .PHONY: update-op-geth
bedrock-markdown-links:
docker run --init -it -v `pwd`:/input lycheeverse/lychee --verbose --no-progress --exclude-loopback --exclude twitter.com --exclude-mail /input/README.md "/input/specs/**/*.md"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment