Remove the standalone GitHub Actions issue-labeller.yml workflow in favor of the webhook-based openwrt-bot worker. Enable issue labeller in formalities.json and add a declarative .github/issue-labeller.yml configuration file for automated validation and labelling of bug reports (release, target, image kind, device). The release rule lists two alternative conditions under a single label key: concrete releases (x.y.z, x.y.z-rcN) are validated against their Git tag via exists check, while stable-branch snapshots (x.y-SNAPSHOT) are format-validated only — OpenWrt does not tag snapshot builds. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> Link: https://github.com/openwrt/openwrt/pull/24382 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
30 lines
863 B
JSON
30 lines
863 B
JSON
{
|
|
"check_branch": true,
|
|
"check_merge_commits": true,
|
|
"check_noreply_email": true,
|
|
"check_signoff": true,
|
|
"check_signature": true,
|
|
"allow_autosquash": true,
|
|
"enable_comments": true,
|
|
"max_subject_len_soft": 60,
|
|
"max_subject_len_hard": 80,
|
|
"max_body_line_len": 100,
|
|
"warn_duplicate_body": true,
|
|
"warn_generic_subjects": true,
|
|
"require_release_notes": true,
|
|
"check_pkg_version": true,
|
|
"check_crlf": true,
|
|
"add_package_label": true,
|
|
"drop_package_label": true,
|
|
"branch_labeling": true,
|
|
"check_openwrt_meta": true,
|
|
"check_conffiles": true,
|
|
"check_patch_headers": "warning",
|
|
"check_space_after_assignment": false,
|
|
"check_makefile_indentation": false,
|
|
"check_pkg_release": "warning",
|
|
"require_linked_github_account": "warning",
|
|
"enable_stale_bot": false,
|
|
"enable_labeler_yml": true,
|
|
"enable_issue_labeller": true
|
|
}
|