Skip to content

fix: use npm ci instead of npm install in scrape-models.sh#308

Merged
rajbos merged 3 commits intomainfrom
copilot/add-puppeteer-scraper-script
Feb 26, 2026
Merged

fix: use npm ci instead of npm install in scrape-models.sh#308
rajbos merged 3 commits intomainfrom
copilot/add-puppeteer-scraper-script

Conversation

Copy link
Contributor

Copilot AI commented Feb 26, 2026

OpenSSF Scorecard flags npm install <package> as "npmCommand not pinned by hash" — it resolves whatever version is current at runtime, making the build non-deterministic and bypassing integrity checks.

Change

Replace the unpinned install with npm ci, which uses the existing package-lock.json (already committed in .github/scripts/) for a deterministic, hash-verified install.

-npm install puppeteer
+npm ci

The package.json and package-lock.json in .github/scripts/ already declare puppeteer as a pinned dependency, so no other changes are needed.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Puppeteer script to scrape model names fix: use npm ci instead of npm install in scrape-models.sh Feb 26, 2026
@rajbos rajbos marked this pull request as ready for review February 26, 2026 22:36
@rajbos rajbos enabled auto-merge February 26, 2026 22:36
@rajbos rajbos merged commit bedb2d1 into main Feb 26, 2026
13 checks passed
@rajbos rajbos deleted the copilot/add-puppeteer-scraper-script branch February 26, 2026 22:38
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.

2 participants