Skip to content

Commit c4e8c4f

Browse files
Lagrang3madelinevibes
authored andcommitted
ci: check that security and docs are synced
Changelog-None Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
1 parent a20cc1c commit c4e8c4f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,13 @@ check-doc-examples: update-doc-examples
667667
check-wire-format: extract-bolt-csv
668668
git diff --exit-code HEAD
669669

670+
# SECURITY.md and doc/contribute-to-core-lightning/security-policy.md must be
671+
# synced. So far we do this manually.
672+
check-security:
673+
@bash -lc 'diff -u <(tail -n +3 -- SECURITY.md) <(tail -n +9 -- doc/contribute-to-core-lightning/security-policy.md)'
674+
670675
# This should NOT compile things!
671-
check-source: check-makefile check-whitespace check-spelling check-python-flake8 check-includes check-shellcheck check-setup_locale check-tmpctx check-discouraged-functions check-amount-access check-bad-sprintf check-wire-format check-source-bolt
676+
check-source: check-makefile check-whitespace check-spelling check-python-flake8 check-includes check-shellcheck check-setup_locale check-tmpctx check-discouraged-functions check-amount-access check-bad-sprintf check-wire-format check-source-bolt check-security
672677

673678
full-check: check check-source
674679

0 commit comments

Comments
 (0)