Files
luci/.github/workflows/formal.yml
T
Josef Schlehofer d7a654efbc github: consolidate PR source branch check
Remove the redundant `check_source_branch_is_not_master.yml` workflow and
enable `check_branch` in HyperStickler formal workflow to check the source
branch name during pull request verification.

This saves GitHub Action runner resources by consolidating the check into
the existing HyperStickler job instead of spawning a separate workflow run.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-07-04 19:29:29 +03:00

30 lines
732 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: true
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: 78
max_subject_len_hard: 80
max_body_line_len: 80
post_comment: true
warn_on_no_modify: true