Skip to content

Dependabot drops an unchanged transitive dependency when bumping a composite action #257

Done

Description

@alysiahuggins

What happened

A grouped Dependabot version update bumped DeterminateSystems/update-flake-lock from v28 to v29 and regenerated actions.lock in the same commit. The regenerated entry for update-flake-lock@v29 is missing one of its nested dependencies, so gh actions-lock --verify fails:

 Lockfile doesn't match locked manifest DamianReeves/write-file-action@6929a9a6d1807689191dcc8bbe62b54d70a32b42
  determinatesystems/update-flake-lock@v29 at locked commit da03c0f078bc uses DamianReeves/write-file-action@6929a9a6d1807689191dcc8bbe62b54d70a32b42, but its lockfile entry determinatesystems/update-flake-lock@v29 does not record it

Dependabot also deleted the top-level damianreeves/write-file-action@6929a9a… dependency entry.

Current Workaround

gh actions-lock .github/workflows/update_nix.yml --relock --ignore-local-actions --no-narrow

This restores the entry and the edge, and --verify passes.

Versions

  • gh-actions-lock v0.4.0 (CI verify and local relock), run with --ignore-local-actions --no-narrow
  • Lockfile schema v0.0.3

Possibly related: #183 (composite actions and their nested pins).

Activity

  1. nodeselector commented on Nov 2, 2026

    @nodeselector
    Collaborator

    @alysiahuggins thanks for the bug report, this should be fixed in v0.4.1 and will be consumed in dependabot shortly pending dependabot/dependabot-core#16799

  2. added a commit that references this issue on Nov 5, 2026
    04b7a1a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions