CI: Dependabot checks Actions and Cargo dependencies weekly #272

Open
github-bot wants to merge 2 commits from github-bot/gh-272 into main AGit
Owner

@⁠sombraSoft on GitHub · 2026-11-23 22:16 UTC · original
sombraSoft:ci/dependabot → main · +36 −0 · 2 files · 2 commits · open

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** on GitHub · 2026-11-23 22:16 UTC · [original](https://github.com/xcl-dev/xcl/pull/272) `sombraSoft:ci/dependabot` → `main` · +36 −0 · 2 files · 2 commits · open 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.
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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:18:20 +00:00
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 15:03 UTC · original

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

**@⁠DavidM1911** on GitHub · 2026-11-25 15:03 UTC · [original](https://github.com/xcl-dev/xcl/pull/272#issuecomment-7166241267) Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
This pull request has changes conflicting with the target branch.
  • .github/workflows/pr-check.yml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/272/head:github-bot/gh-272'
git switch 'github-bot/gh-272'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-272'
git switch 'github-bot/gh-272'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-272'
git switch 'github-bot/gh-272'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-272'
git switch 'main'
git merge --squash 'github-bot/gh-272'
git switch 'main'
git merge --ff-only 'github-bot/gh-272'
git switch 'main'
git merge 'github-bot/gh-272'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.