Skip to content

Lock Octokit dependencies for publish notifications - #245

Open
ryanduguid wants to merge 1 commit into
XeroAPI:masterfrom
ryanduguid:codex/lock-octokit-notifications-20261017
Open

ryanduguid wants to merge 1 commit into
XeroAPI:masterfrom
ryanduguid:codex/lock-octokit-notifications-20261017

Conversation

@ryanduguid

Copy link
Copy Markdown

Summary

Freeze the Octokit dependency graph used by the publish notification job and install it with npm ci --ignore-scripts. The committed lock records exact versions and integrity hashes for the existing manifest ranges.

Evidence

  • Before: npm ci rejects the directory because no lockfile exists; the workflow uses npm i and resolves floating dependencies before importing them in a credential-bearing step.
  • After: a clean locked install and unauthenticated imports pass on Node 20.20.2. Negative checks reject a dependency missing from the lock and a package with an incorrect integrity digest. The original manifest and authentication module retain their hashes. npm audit reports no known advisories for the locked graph.

Risk

The notification job now fails if its manifest and lock disagree or if downloaded content fails integrity checks. Its existing upstream checkout must contain the lock before the changed install command can succeed.

Unverified

GitHub-hosted execution, the shell step's hosted Node/npm versions, live App authentication, dispatch and Sonar reanalysis were not run. No Python SDK source changed, so SDK tests were not run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant