mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
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 <george@sapk.in>
29 lines
701 B
YAML
29 lines
701 B
YAML
name: Test Formalities
|
|
|
|
on:
|
|
pull_request_target:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
formalities:
|
|
name: Test Formalities
|
|
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
|