Skip to content
SkilledDragonEngineering Intelligence
MinilabKeylessOctober 21, 2026

PinDiff explains Actions lockfile PRs. Live facts matched recordings in 6 of 6 cases.

PinDiff resolves every changed pin in actions.lock, transitive ones included, collects GitHub facts and tags risks with fixed rules. A live re-run matched the recorded changes and tags in all six cases.

By David Discua

Measured in the lab

6
fixture cases
6/6
live facts matched recordings
6 (2 transitive)
largest case, changed pins
72 pass
local tests
dependabot-bumpGitHub calls replayed47
maintenance-line15
real Dependabot PR 110
real Dependabot PR 210
tag-moved7
no-change0
  • Transitive pins inside composite actions resolved with their parent
  • Hand-written moved tag tagged tag-moved (high)
  • Container image change tagged docker-image-change (high)
  • Lockfile with no changes makes 0 GitHub calls
  • Every template comment passes the same validator a model-written one must pass

From reports/pindiff-brief.json · run on October 21, 2026. Bun 1.4.3; GitHub REST responses recorded on October 21, 2026 and replayed; deterministic EN and ES template; lockfile schema v0.0.3

How it is wired

diffcompare, tagscommentactions.lock PRbase vs headPinDifffacts + risk tagsGitHub RESTread-onlyReviewerEN + ES comment

01/03A Dependabot PR changes the actions lockfile.

GitHub's gh actions-lock writes .github/workflows/actions.lock, and Dependabot now bumps it. The PR diff shows pin keys and sha1-... strings, and pins inside composite actions change without a word in the PR title. PinDiff is our CLI that turns that diff into facts a reviewer can use: which commit moved, how far, whether it is on the action's default branch, and whether its container image changed. It tags risks with fixed rules and writes a PR comment in English and Spanish plus a JSON report. Across six fixture cases a live re-run against the GitHub API matched the recorded changes and tags every time. The catch is that the optional model-written comment has never been produced, and the risk tags are heuristics.

The catch

PinDiff can hand its facts to Gemini to write the comment, with checks that it names every changed action and every high or medium tag and invents no commit hashes or URLs. That path is covered by unit tests with a mocked response, and the live path was not run in this lab. Every comment measured here came from the deterministic template.

The network and permission tags (new-network-call, new-permissions) are line-based checks on added lines in the action's own source. They miss obfuscated code and anything only in bundled dist/ output, and they can flag harmless lines. In the six cases they fired once, on urllib in a new Python file. GitHub's compare API also lists at most 300 files. The workflow snippet in the README has not run on GitHub, and "no tags" does not mean safe.

What we ran (keyless)

bun install --frozen-lockfile
bun run pindiff diff fixtures/dependabot-bump/base.lock fixtures/dependabot-bump/head.lock
bun run report

From reports/pindiff-brief.json, run on October 21, 2026:

CaseChanged (direct / transitive)GitHub callshigh / med / low / infoWorst
dependabot-bump6 (4 / 2)471 / 4 / 4 / 7high
maintenance-line2 (2 / 0)150 / 2 / 0 / 2medium
no-change0 (0 / 0)00 / 0 / 0 / 0none
Real Dependabot PR 11 (1 / 0)100 / 2 / 1 / 2medium
Real Dependabot PR 21 (1 / 0)100 / 1 / 0 / 2medium
tag-moved1 (1 / 0)71 / 1 / 0 / 1high

In dependabot-bump, two of the six changed pins are transitive, pulled in by a composite action, and one direct action changed its container image and Dockerfile base image while its new commit was not on the default branch. tag-moved is the one hand-written fixture, and the rest are gh actions-lock v0.2.0 output or real Dependabot PRs. The live re-run (reports/live-run.json) made the same number of GitHub calls per case and produced the same changes and tags as the recordings for all six cases. The local gate ran 72 tests with 0 failures.

How it is wired

PinDiff parses both lockfiles with the parser from our ClavoLock Gate lab (schema v0.0.3) and pairs entries per repository as updated, relocked, renamed, added or removed. For each changed action it calls compare between old and new commits and against the default branch, checks where the tag points, reads release metadata, commit signatures and action.yml at both commits, then applies rules from src/risks.ts. The exit code follows --fail-on.

Minilab (open source)

PinDiff is our own lab, Apache-2.0 and written in TypeScript on Bun, at SkilledDragonCorp/pindiff-brief. It reads lockfiles written by github/gh-actions-lock (248 stars, MIT, Go, as of October 24, 2026), a pre-1.0 public preview. Re-run bun run report, which replays every fixture through the full pipeline, or follow the README to run it read-only against a real PR with --repo owner/name --pr N.

Run it yourself

SkilledDragonCorp/pindiff-brief

Clone, install and run the report with no API keys. The numbers above are what that run writes.

bun install --frozen-lockfile && bun run report

SkilledDragon is not affiliated with, endorsed by, or sponsored by GitHub, Inc., Dependabot, or Google. Numbers are from our own keyless lab run on recorded public data; re-run the report before relying on them. Risk tags are review signals, not a security review.

All labs