From ff72af473930145a8125038ae2248a6f420d5bc4 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 00:58:24 +0000 Subject: [PATCH] ci: fail a change that adds a comment block of three or more lines Calls the shared long-comments workflow from femiwiki/.github#110 behind the required check. Only blocks a change adds fail. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01FTHnmv7HA7UXQMnSN94hgg --- .github/workflows/required.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/required.yml b/.github/workflows/required.yml index 8b16360..6277310 100644 --- a/.github/workflows/required.yml +++ b/.github/workflows/required.yml @@ -16,10 +16,15 @@ jobs: permissions: contents: read + long-comments: + uses: femiwiki/.github/.github/workflows/long-comments.yml@629c43b2f8f2a601bf0ab60bb35cfd2157fe55a8 + permissions: + contents: read + # The one check branch protection requires. What has to pass is the # workflows called above, so adding a check does not touch femiwiki/infra. required: - needs: [lint, test] + needs: [lint, test, long-comments] if: always() runs-on: ubuntu-latest timeout-minutes: 5