Repository navigation
Add Dependabot for GitHub Actions - #269
Merged
Merged
Conversation
Adds `.github/dependabot.yml` for the `github-actions` ecosystem so action
versions stay current without manual bumps, mirroring IAMR's configuration.
`target-branch` is set to `development` since that is incflo's default branch.
The action refs are deliberately left stale in this commit: Dependabot will
open the bump PRs itself (`actions/checkout` 4->7, `actions/cache` 4->6),
which also clears the deprecated Node.js 20 warnings currently emitted by
`actions/checkout@v4` and `actions/cache@v4`.
Also adds `branches-ignore: 'dependabot/**'` to the push trigger of every
push-triggered workflow, so Dependabot branches do not run CI twice (once for
`push` and once for `pull_request`). This matches both AMReX and IAMR. The
existing `schedule:` crons are unchanged.
Moves codespell from `ubuntu-22.04` to `ubuntu-latest`, matching AMReX and
IAMR. incflo was the only one of the three still pinning that job, and
`ubuntu-22.04` is now the oldest of three GA images.
Finally, fixes the concurrency group in docs.yml. It was
`${{ github.head_ref }}-docs`, but `github.head_ref` is empty on `push`
events, so every push in the repository shared the single group `-docs` and,
with `cancel-in-progress: true`, cancelled each other's docs builds. Adding
`github.ref` disambiguates per branch, matching AMReX and the six other
workflows in this repository, which all already use that form.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
asalmgren
approved these changes
Oct 8, 2026
asalmgren
enabled auto-merge (squash)
October 8, 2026 00:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Dependabot for the
github-actionsecosystem so action versions stay current withoutmanual bumps, mirroring IAMR's configuration.
CI currently emits a deprecation warning on every run:
actions/checkout@v4andactions/cache@v4are being force-run on Node 24 because Node 20 is end-of-life. Rather thanhand-bump the refs, this lets Dependabot do it — the bump PRs it opens are both the fix and the
proof the config works.
Changes
New
.github/dependabot.yml—github-actionsecosystem, weekly, byte-identical toIAMR's.
target-branch: developmentis required since that is incflo's default branch.branches-ignore: 'dependabot/**'on the push trigger of all 7 push-triggered workflows(gcc, sycl, cuda, hip, docs, style, codespell). Without this, every Dependabot branch runs CI
twice — once for
push, once forpull_request. Matches both AMReX and IAMR, which apply itto all push-triggered workflows rather than only the expensive ones. Existing
schedule:crons are unchanged.
codespell:
ubuntu-22.04→ubuntu-latest— both AMReX and IAMR already run this job onubuntu-latest; incflo was the only one of the three still pinning it. Withubuntu-26.04now GA alongside
24.04, and GitHub keeping at most two GA images,22.04is on its way out.Fixes the concurrency group in
docs.yml(pre-existing bug, noticed while testing thischange). It was
${{ github.head_ref }}-docs, butgithub.head_refis empty onpushevents, so every push in the repository shared one group,
-docs, and withcancel-in-progress: truethey cancelled each other's docs builds. Addinggithub.refdisambiguates per branch. This matches AMReX, and matches the six other workflows in this
repository, which all already use the
${{ github.ref }}-${{ github.head_ref }}-*form —docs.ymlwas the lone holdout. (The same bug exists in IAMR, if you want it fixed theretoo.)
Action refs are deliberately left stale here. After merge, Dependabot will open the bumps itself
(
actions/checkout4→7,actions/cache4→6), which is what clears the Node 20 warning.Not covered by Dependabot (left for follow-up)
docs.ymlstill runs onubuntu-22.04— matches IAMR today, but will need moving as 22.04 isretired. Deferred deliberately: the Sphinx/doxygen build is the most image-sensitive job here.
pip3 installindocs.ymlandcodespell.yml. AMReX has since moved tohash-pinned
.github/workflows/requirements/*.txt; IAMR has not, and this PR follows IAMR.🤖 Generated with Claude Code