formal: switch formal to an external action
authorGeorge Sapkin <redacted>
Fri, 27 Mar 2026 14:14:43 +0000 (16:14 +0200)
committerPaul Donald <redacted>
Fri, 27 Mar 2026 19:47:47 +0000 (20:47 +0100)
Switch to external formality checks that provide more configuration
options.

Increase the allowed subject lengths to 60/80.

Fixes: https://github.com/openwrt/actions-shared-workflows/issues/91
Link: https://github.com/GeorgeSapkin/hyperstickler
Signed-off-by: George Sapkin <redacted>
.github/workflows/formal.yml

index 98133fda7417c11ccd05662b8468656d2ca47957..bd54a0d5d190aa2e8cf2d4cefdbc1900653b0dcf 100644 (file)
@@ -10,8 +10,19 @@ permissions:
 jobs:
   formalities:
     name: Test Formalities
-    uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
-    with:
-      exclude_weblate: true
-      post_comment: true
-      warn_on_no_modify: true
+    runs-on: ubuntu-slim
+
+    steps:
+      - name: Run HyperStickler
+        uses: georgesapkin/hyperstickler@v1
+        with:
+          check_branch: false
+          check_signoff: true
+          exclude_weblate: true
+          feedback_url: 'https://github.com/openwrt/actions-shared-workflows/issues'
+          guideline_url: 'https://openwrt.org/submitting-patches#submission_guidelines'
+          job_step: 2
+          max_subject_len_soft: 60
+          max_subject_len_hard: 80
+          post_comment: true
+          warn_on_no_modify: true
git clone https://git.99rst.org/PROJECT