ci(pr): add automatic PR labeling
Port repo release update / run-release-branch-updater (push) Canceled after 0s
Arduino Lint / lint (push) Canceled after 0s
Build Examples with C++ Compiler / build-examples (push) Canceled after 0s
MicroPython CI / Build esp32 port (push) Canceled after 0s
MicroPython CI / Build rp2 port (push) Canceled after 0s
MicroPython CI / Build stm32 port (push) Canceled after 0s
MicroPython CI / Build unix port (push) Canceled after 0s
C/C++ CI / Build OPTIONS_LINUX_OPENGLES - Ubuntu (push) Canceled after 0s
C/C++ CI / Build OPTIONS_LINUX_SW - Ubuntu (push) Canceled after 0s
C/C++ CI / Build OPTIONS_MINIMAL - Ubuntu (push) Canceled after 0s
C/C++ CI / Build OPTIONS_NO_CHECKS - Ubuntu (push) Canceled after 0s
C/C++ CI / Build OPTIONS_NUTTX - Ubuntu (push) Canceled after 0s
C/C++ CI / Build OPTIONS_MINIMAL - cl - Windows (push) Canceled after 0s
C/C++ CI / Build OPTIONS_MINIMAL - gcc - Windows (push) Canceled after 0s
C/C++ CI / Build OPTIONS_WINDOWS_SW - cl - Windows (push) Canceled after 0s
C/C++ CI / Build OPTIONS_WINDOWS_SW - gcc - Windows (push) Canceled after 0s
C/C++ CI / Build ESP IDF ESP32S3 (push) Canceled after 0s
C/C++ CI / Run tests with 32bit build (push) Canceled after 0s
C/C++ CI / Run tests with 64bit build (push) Canceled after 0s
BOM Check / bom-check (push) Canceled after 0s
Verify GDB constants are up-to-date / verify-gdb-consts (push) Canceled after 0s
Verify the widget property name / verify-property-name (push) Canceled after 0s
Verify code formatting / verify-formatting (push) Canceled after 0s
Compare file templates with file names / template-check (push) Canceled after 0s
Code Generation / Code Generation (push) Canceled after 0s
Build Docs / build-and-deploy (push) Canceled after 0s
Build .deb packages / build (push) Canceled after 0s
Validate pkg-config and CMake config / cmake (linux) (push) Canceled after 0s
Validate pkg-config and CMake config / pkgconfig (linux) (push) Canceled after 0s
Validate pkg-config and CMake config / cmake (linux-3d) (push) Canceled after 0s
Validate pkg-config and CMake config / pkgconfig (linux-3d) (push) Canceled after 0s
Test API JSON generator / Test API JSON (push) Canceled after 0s
Install LVGL using CMake / build-examples (private) (push) Canceled after 0s
Install LVGL using CMake / build-examples (public) (push) Canceled after 0s
Check Makefile / Build using Makefile (push) Canceled after 0s
Check Makefile for UEFI / Build using Makefile for UEFI (push) Canceled after 0s
Emulated Performance Test / ARM Emulated Benchmark - Script Check (scripts/perf/tests/benchmark_results_comment/test.sh) (push) Canceled after 0s
Emulated Performance Test / ARM Emulated Benchmark - Script Check (scripts/perf/tests/filter_docker_logs/test.sh) (push) Canceled after 0s
Emulated Performance Test / ARM Emulated Benchmark - Script Check (scripts/perf/tests/serialize_results/test.sh) (push) Canceled after 0s
Emulated Performance Test / ARM Emulated Benchmark 32b - lv_conf_perf32b (push) Canceled after 0s
Emulated Performance Test / ARM Emulated Benchmark 64b - lv_conf_perf64b (push) Canceled after 0s
Emulated Performance Test / ARM Emulated Benchmark - Save PR Number (push) Canceled after 0s
Performance Tests CI / Perf Tests OPTIONS_TEST_PERF_32B - Ubuntu (push) Canceled after 0s
Performance Tests CI / Perf Tests OPTIONS_TEST_PERF_64B - Ubuntu (push) Canceled after 0s
Static Checks / Static Checks (push) Canceled after 0s
Verify Font License / verify-font-license (push) Canceled after 0s
Verify Kconfig / verify-kconfig (push) Canceled after 0s
Hardware Performance Test / Hardware Performance Benchmark (push) Canceled after 0s
Hardware Performance Test / HW Benchmark - Save PR Number (push) Canceled after 0s

This commit is contained in:
André Costa
2026-08-31 20:21:26 +02:00
committed by GitHub
parent 0043765adc
commit f45e3a3e87
4 changed files with 1965 additions and 1 deletions
+1536
View File
File diff suppressed because it is too large Load Diff
+26
View File
@@ -0,0 +1,26 @@
name: Labeler
# pull_request_target is safe here because the job never checks out or executes PR code
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
label:
name: Label
runs-on: ubuntu-latest
steps:
- name: Apply labels from .github/labeler.yml
uses: actions/labeler@v7
with:
sync-labels: true
dot: true
+27 -1
View File
@@ -94,6 +94,27 @@ jobs:
pip install kconfiglib
python scripts/static_checks/check_defconfigs.py
# ------------------------------------------------------------------
# Every glob in .github/labeler.yml still matches a tracked file
# ------------------------------------------------------------------
- name: "Check: labeler globs match tracked files"
id: labeler-globs
continue-on-error: true
run: |
pip install pyyaml
python scripts/static_checks/check_labeler.py globs
# ------------------------------------------------------------------
# Every label used by .github/labeler.yml exists on the repo
# ------------------------------------------------------------------
- name: "Check: labeler labels exist"
id: labeler-labels
if: github.repository == 'lvgl/lvgl'
continue-on-error: true
env:
GITHUB_TOKEN: ${{ github.token }}
run: python scripts/static_checks/check_labeler.py labels-exist
# ------------------------------------------------------------------
# Final gate – fail the job if any step above failed.
# This gives us full output from every check before failing.
@@ -107,7 +128,10 @@ jobs:
steps.direct-public-include.outcome == 'failure' ||
steps.deprecated.outcome == 'failure' ||
steps.lv_types.outcome == 'failure' ||
steps.defconfigs.outcome == 'failure'
steps.defconfigs.outcome == 'failure' ||
steps.labeler-globs.outcome == 'failure' ||
steps.labeler-labels.outcome == 'failure'
run: |
echo "Policy check results:"
echo "---------------------"
@@ -129,6 +153,8 @@ jobs:
print_result "deprecated" "${{ steps.deprecated.outcome }}"
print_result "lv_types" "${{ steps.lv_types.outcome }}"
print_result "defconfigs" "${{ steps.defconfigs.outcome }}"
print_result "labeler-globs" "${{ steps.labeler-globs.outcome }}"
print_result "labeler-labels" "${{ steps.labeler-labels.outcome }}"
echo "---------------------"
echo "One or more policy checks failed. See above for details."
File diff suppressed because it is too large Load Diff