nuttx/.github/workflows
raiden00pl 6955aeb64b
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
ci: do not trigger Build on PR description edits
The Depends-On feature (commit e73f7f7d0e) made the Build workflow
trigger on PR description edits. A gate job checks whether the edit
changed any Depends-On declaration: if yes, the build jobs run again
with the new dependencies; on any other edit the gate skips all build
jobs.

The gate has a side effect that breaks PR check results. Skipped jobs
still register check results on the PR, and the PR checks view shows
the newest check run of each name. So after any description edit the
PR shows "skipped" for every build check instead of the pass/fail
from the real run. Re-running that newest run only repeats the skip,
so the real results never come back. This can also hide a red X from
a failed build.

Fix by not triggering Build on description edits at all: remove the
"edited" event type and the gate job.

Depends-On keeps working: dependencies are read from the description
at the start of every run against master, as before. Fetch-Source now
re-reads the description through the API instead of using the copy
stored in the event payload, so every run uses the current Depends-On
state no matter how it was triggered.

After editing a Depends-On line, retrigger CI by any of:
- pushing new or rebased commits to the PR branch
- closing and reopening the PR
- pressing "Re-run all jobs" on the existing Build run

A description edit alone no longer triggers anything, which is
exactly the behavior that corrupted the PR check results.

Update Documentation/testing/nuttx-ci.rst accordingly.

Same change as in nuttx-apps; both repos received the gate from the
same Depends-On feature.

Signed-off-by: raiden00pl <raiden00@railab.me>
Assisted-by: Claude Code
2026-08-16 19:08:58 -04:00
..
arch.yml ci: split xtensa jobs into three separate jobs (instead of two) 2026-03-28 06:14:34 +08:00
build.yml ci: do not trigger Build on PR description edits 2026-08-16 19:08:58 -04:00
check.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
depends-on-comment.yml build(deps): bump actions/github-script from 7 to 9 2026-08-05 12:37:50 +02:00
doc.yml ci: Build the documentation from its lock file. 2026-08-04 17:28:41 -03:00
docker_linux.yml build(deps): bump docker/login-action from 4.5.1 to 4.6.0 2026-08-05 12:38:32 +02:00
issue_labeler.yml build(deps): bump actions/github-script from 7 to 9 2026-08-05 12:37:50 +02:00
labeler.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
lint.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
membrowse-comment.yml build(deps): bump actions/setup-python from 6 to 7 2026-07-27 13:34:36 -04:00
membrowse-onboard.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
membrowse-report.yml build(deps): bump docker/login-action from 4.5.1 to 4.6.0 2026-08-05 12:38:32 +02:00
pr_labeler.yml build(deps): bump actions/github-script from 8.0.0 to 9.0.0 2026-04-13 15:03:58 +08:00