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

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


The following commit(s) were added to refs/heads/master by this push:
     new 07c20418c ci/build: Skip heavy build matrix on draft pull requests
07c20418c is described below

commit 07c20418c6d721fe08f0457c9a1885066dcbc47b
Author: Swatantra Yadav <[email protected]>
AuthorDate: Sun Oct 25 20:13:49 2026 +0530

    ci/build: Skip heavy build matrix on draft pull requests
    
    In response to the ASF Infrastructure notice regarding excessive GitHub 
Actions runner consumption, skip the heavy build matrix when a pull request is 
in draft state.
    
    Companion to apache/nuttx PR #20973. Fast checks (check.yml and lint.yml) 
continue to run to provide early style and syntax feedback. The full build 
matrix will automatically trigger once the PR is marked 'Ready for review'.
    
    Signed-off-by: Swatantra Yadav <[email protected]>
---
 .github/workflows/build.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d9ab7eae1..123de8e1a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,6 +14,7 @@ name: Build
 
 on:
   pull_request:
+    types: [opened, synchronize, reopened, ready_for_review]
   push:
     branches:
       - 'releases/*'
@@ -32,6 +33,7 @@ concurrency:
 jobs:
   # Fetch the source from nuttx and nuttx-apps repos
   Fetch-Source:
+    if: github.event_name != 'pull_request' || github.event.pull_request.draft 
== false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout CI scripts

Reply via email to