This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new a38e533bfa CI: Set PR Label to the Arch-Specific Board
a38e533bfa is described below

commit a38e533bfa0909e2c24202ed539b6e1bf2946fdf
Author: Lup Yuen Lee <[email protected]>
AuthorDate: Wed Oct 9 14:20:09 2024 +0800

    CI: Set PR Label to the Arch-Specific Board
    
    This PR changes the Labeling of PRs so that the Architecture (arm, risc-v, 
xtensa, ...) is specified in the Board Label. Previously the CI Workflow would 
set Generic Board Labels like "Area: Board support". Now it will set the 
Arch-Specific Board Label like "Board: arm".
    
    The Board Label will be used by the upcoming CI Build Rules to skip 
unnecessary builds. So "Board: arm" will enable only the builds for `arm-01` to 
`arm-14`. This is explained here: https://github.com/apache/nuttx/issues/13775
---
 .github/labeler.yml | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 66 insertions(+), 4 deletions(-)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index a13f0c59cc..5f6363b0e6 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -88,6 +88,72 @@
   - changed-files:
       - any-glob-to-any-file: 'arch/z80/**'
 
+# add board labels
+
+"Board: arm":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/arm/**'
+
+"Board: arm64":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/arm64/**'
+
+"Board: avr":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/avr/**'
+
+"Board: hc":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/hc/**'
+
+"Board: mips":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/mips/**'
+
+"Board: openrisc":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/or1k/**'
+
+"Board: renesas":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/renesas/**'
+
+"Board: risc-v":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/risc-v/**'
+
+"Board: simulator":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/sim/**'
+
+"Board: sparc":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/sparc/**'
+
+"Board: tricore":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/tricore/**'
+
+"Board: x86":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/x86/**'
+
+"Board: x86_64":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/x86_64/**'
+
+"Board: xtensa":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/xtensa/**'
+
+"Board: z16":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/z16/**'
+
+"Board: z80":
+  - changed-files:
+      - any-glob-to-any-file: 'boards/z80/**'
+
 # add area labels
 
 "Area: Audio":
@@ -107,10 +173,6 @@
       - any-glob-to-any-file: 'nuttx/drivers/wireless/bluetooth/**'
       - any-glob-to-any-file: 'include/nuttx/wireless/bluetooth/**'
 
-"Area: Board support":
-  - changed-files:
-      - any-glob-to-any-file: 'boards/**'
-
 "Area: Build system":
   - changed-files:
       - any-glob-to-any-file: 'Makefile'

Reply via email to