mirror of
https://github.com/openwrt/luci.git
synced 2026-07-14 02:54:28 +04:00
d7a654efbc
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>
30 lines
732 B
YAML
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
|