Skip to content

ci: Consolidate workflows and add a single required gate job - #442

Merged
schloerke merged 7 commits into
mainfrom
schloerke/trigger-docs-rebuild
Sep 21, 2026
Merged

schloerke merged 7 commits into
mainfrom
schloerke/trigger-docs-rebuild

Conversation

@schloerke

@schloerke schloerke commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Started as an empty commit to trigger a docs rebuild; now also consolidates CI so main can have one meaningful required status check.

Why

license/cla was the only required status check on main — it has been removed, leaving nothing required. The obvious replacement, the R CMD check matrix jobs, makes a poor required check: context names like R-CMD-check / ubuntu-latest (4.5.3) change whenever the matrix or shiny-workflows changes, and a stale required context that never reports blocks every PR indefinitely.

What

  • Merged system-libuv.yaml into R-CMD-check.yaml. A gate job can only needs: jobs in its own workflow file, so a single required check means a single workflow. The two files already had byte-identical on: triggers, so the job moves over verbatim (renamed R-CMD-checksystem-libuv to avoid a job-id collision).
  • Added a checks gate job that depends on every other job and fails if any failed or was cancelled. It has one stable context name, Package checks / checks, suitable to mark as required on main.
  • Bumped actions/checkout@v3@v4 in the moved job to clear an actionlint warning.

Follow-up

After this merges and checks reports once on main, mark Package checks / checks as a required status check in branch protection.

Note

A skipped job passes the gate. That is fine today since no job has a path filter or if: condition; there is a ponytail: comment on the gate noting to add contains(needs.*.result, 'skipped') if that changes.

schloerke and others added 5 commits September 21, 2026 12:27
…required gate job

`needs:` cannot span workflow files, so a single required status check
requires all jobs to live in one workflow. The `on:` triggers of the two
workflows were already identical, so the job moves over verbatim.

Adds a `checks` gate job with a stable context name to mark as required
on `main`, instead of the matrix job names which change whenever the
matrix or shiny-workflows does.
@schloerke schloerke changed the title chore: Trigger docs rebuild ci: Consolidate workflows and add a single required gate job Sep 21, 2026
@schloerke
schloerke enabled auto-merge (squash) September 21, 2026 17:03
@schloerke
schloerke merged commit 0d675ad into main Sep 21, 2026
26 checks passed
@schloerke
schloerke deleted the schloerke/trigger-docs-rebuild branch September 21, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant