This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 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 b63e526c919 ci/build: Skip heavy build matrix on draft pull requests
b63e526c919 is described below
commit b63e526c9191d0e2e2d19972cfccdfbc9e122ee6
Author: Swatantra Yadav <[email protected]>
AuthorDate: Sat Oct 24 22:23:02 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.
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 bfd7bb3ca94..82a743925da 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]
paths-ignore:
- "AUTHORS"
- "CONTRIBUTING.md"
@@ -43,6 +44,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
runs-on: ubuntu-latest
steps:
- name: Checkout CI scripts