mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
3f7ff4c50c
Relax subject length checks to 60/80 and line length to 100 to match the actions repo. Link: https://github.com/openwrt/actions-shared-workflows/pull/95 Signed-off-by: George Sapkin <george@sapk.in>
35 lines
975 B
YAML
35 lines
975 B
YAML
name: Test and Build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
formalities:
|
|
name: Test Formalities
|
|
runs-on: ubuntu-slim
|
|
steps:
|
|
- name: HyperStickler
|
|
uses: georgesapkin/hyperstickler@v1
|
|
with:
|
|
check_branch: false
|
|
check_signoff: true
|
|
feedback_url: 'https://github.com/openwrt/actions-shared-workflows/issues'
|
|
guideline_url: 'https://openwrt.org/submitting-patches#submission_guidelines'
|
|
max_body_line_len: 100
|
|
max_subject_len_hard: 80
|
|
max_subject_len_soft: 60
|
|
# This still needs a fine-grained token related to:
|
|
# https://github.com/openwrt/packages/pull/28011
|
|
# job_step: 2
|
|
# post_comment: true
|
|
# warn_on_no_modify: true
|
|
|
|
build:
|
|
name: Feeds Package Test Build
|
|
needs: formalities
|
|
uses: openwrt/actions-shared-workflows/.github/workflows/multi-arch-test-build.yml@main
|