Skip to content

CI: Dependabot checks Actions and Cargo dependencies weekly - #272

Closed
sombraSoft wants to merge 2 commits into
xcl-dev:mainfrom
sombraSoft:ci/dependabot
Closed

sombraSoft wants to merge 2 commits into
xcl-dev:mainfrom
sombraSoft:ci/dependabot

Conversation

@sombraSoft

@sombraSoft sombraSoft commented Nov 23, 2026 •

Copy link
Copy Markdown

Adds Dependabot for the GitHub Actions the workflows use and for the Cargo workspace. It also makes PR checks skip Dependabot's own PRs: their generated bodies cannot have the Tested / Not tested / AI use sections, so without the second commit every Dependabot PR would fail the required check and could never merge.

Part of #265

What is in it

  • .github/dependabot.yml: weekly github-actions and cargo updates (directory /), at most 5 open PRs each. Minor and patch updates come as one grouped PR per ecosystem; a major update is its own PR. Commit prefixes CI and Dependencies follow the repo's <Area>: ... style.
  • .github/workflows/pr-check.yml: the description job gets if: github.event.pull_request.user.login != 'dependabot[bot]'. A skipped job passes the required check; PRs by anyone else are checked as before.

CI time

  • 0: no job is added or changed for normal PRs. The PR checks skip only applies to Dependabot's own PRs.

Tested

  • CI-only change; no Rust code touched. Both YAML files parse.
  • Fork CI on a throwaway PR: Build and test (Windows, no GPU) pass, PR description pass: https://github.com/sombraSoft/xcl/actions/runs/45276265580
  • Full suite on main (9ab7d76), RTX 3060 Ti (driver 621.24), Ryzen 9 5900X, Windows 11, rustc 1.97.1, debug: scripts/test.ps1 → 651 passed, 0 failed, 40 ignored; SKIPPED: 2 (no wave64). This PR changes only CI config, so the compiled code is the same.

Regression run

  • Not needed: no crates/xcl/src change.

Not tested

  • Dependabot's behaviour (grouping, title prefixes, the skip on a real Dependabot PR) can only be seen once the files are on main.
  • The if: skip was not exercised with a dependabot[bot] author; on the fork PR the job ran, as it should for a human author.

AI use

  • Claude Code (Claude Sonnet 5.5) wrote the config; Claude Code (Claude Opus 5.5) reviewed it and wrote this description; I read the diff.

@sombraSoft
sombraSoft marked this pull request as ready for review November 23, 2026 22:18
The workflows pin third-party actions and the workspace has a tracked
Cargo.lock, and nothing tells us when either goes stale or gets a
security fix.

Minor and patch updates of each ecosystem come as one PR so a week of
bumps is one review; a major update stays its own PR. At most 5 PRs per
ecosystem are open at once. Titles use the repo's "Scope: outcome" style
("CI: Bump ...", "Dependencies: Bump ...").
A Dependabot PR body is generated and has no Tested / Not tested / AI use
sections, so with Dependabot enabled every one of its PRs would fail the
required PR checks and could never merge. The job is skipped when the PR
author is dependabot[bot]; a skipped job counts as passed for a required
check. PRs by anyone else are checked as before.
@DavidM1911

Copy link
Copy Markdown
Contributor

Verification on RTX 3060 Ti (Windows 11): merge conflict with current main — needs a rebase before it can be tested.

@github-actions

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@github-actions github-actions Bot added the stale No activity for 3 days; closed 4 days later unless something happens label Nov 29, 2026
@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Triage (#1607) – head f082cfa

No open or merged PR adds Dependabot; the other #265 CI PRs (#274, #275, #276, #277, #279, #286, #287) each change something else.
Point to check in .github/workflows/pr-check.yml: skipping the description job for dependabot[bot] also skips the regression-run requirement, and scripts/pr_check.py counts Cargo.lock / Cargo.toml as runtime changes, so a cargo bump PR would merge with no xcl-smoke run. The file has also changed on main (the job name is now an expression for label events), so this conflicts and the if: needs to be re-placed.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

@github-actions github-actions Bot removed the stale No activity for 3 days; closed 4 days later unless something happens label Dec 2, 2026
@sombraSoft sombraSoft closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

off-goal Does not bear on the current goal (world loading); waits until it is reached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants