diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4aa063e0d..a4d35ed96e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: make url_check - run: make awesome_lint - run: make export + - run: make url_check diff --git a/.hecat/url-check.yml b/.hecat/url-check.yml index de4327ce66..4ba80e5648 100644 --- a/.hecat/url-check.yml +++ b/.hecat/url-check.yml @@ -12,5 +12,6 @@ steps: - source_code_url - website_url - demo_url + errors_are_fatal: True exclude_regex: - '^https://github.com/[\w\.\-]+/[\w\.\-]+$' # don't check URLs that will be processed by the github_metadata module diff --git a/Makefile b/Makefile index 59c47147fa..8da8fa4dca 100644 --- a/Makefile +++ b/Makefile @@ -22,11 +22,6 @@ update_metadata: install source .venv/bin/activate && \ hecat --config .hecat/update-metadata.yml -.PHONY: url_check # check URLs for dead links or other connection problems -url_check: install - source .venv/bin/activate && \ - hecat --config .hecat/url-check.yml - .PHONY: awesome_lint # check data against awesome-selfhosted guidelines awesome_lint: install source .venv/bin/activate && \ @@ -39,6 +34,11 @@ export: install hecat --config .hecat/export.yml cd awesome-selfhosted && git diff --color=always +.PHONY: url_check # check URLs for dead links or other connection problems +url_check: install + source .venv/bin/activate && \ + hecat --config .hecat/url-check.yml + .PHONY: help # generate list of targets with descriptions help: @grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1 \2/' | expand -t20