mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-11-19 23:45:59 +00:00
## Summary - Reproduce the remaining dependency changes from nine open Dependabot PRs against current main, without reverting unrelated changes from older PR branches. - Update actions/setup-node to 7.1.0 (#1127), release-drafter to 7.10.0 (#1126), and CodeQL init/analyze/autobuild to 4.38.2 (#1116, #1115, #1114). - Update @types/node to 26.6.2 (#1108), undici to 8.11.0 (#1107), Biome to 2.5.14 (#1106), and Jest to 30.5.2 (#1105). - Align the Biome schema and regenerate affected action bundles. ## Excluded - #1029 (TypeScript 7.0.2): all 16 test suites fail before executing tests because ts-jest 29.4.11 expects the TypeScript compiler API and declares a >=4.3 <7 peer range. Excluded with operator approval; TypeScript remains at 6.0.3. - None of the ten open Dependabot PRs were already no-ops against main. ## Validation - npm ci --ignore-scripts - npm run all: passed (16 suites, 179 tests; no Biome fixes) - actionlint: passed - uvx zizmor --offline .github/workflows: no findings - npm audit signatures: 353 verified registry signatures, 38 verified attestations - Workflow all-tests-passed dependency check: passed - git diff --check: passed npm installation reports 30 audit vulnerabilities, matching the baseline count; unrelated audit fixes are outside this rollup. Refs: pi-session 01a1d01c-e089-7536-b5be-fed125cdaa18
60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
name: "Update known checksums"
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 4 * * *" # Run every day at 4am UTC
|
|
repository_dispatch:
|
|
types: [ pypi_release ]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04-arm
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: true
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
cache: npm
|
|
- name: Update known checksums
|
|
id: update-known-checksums
|
|
run:
|
|
node dist/update-known-checksums/index.cjs
|
|
src/download/checksum/known-checksums.json
|
|
- name: Check for changes
|
|
id: changes-exist
|
|
run: |
|
|
git status --porcelain
|
|
if [ -n "$(git status --porcelain)" ]; then
|
|
echo "changes-exist=true" >> "$GITHUB_OUTPUT"
|
|
else
|
|
echo "changes-exist=false" >> "$GITHUB_OUTPUT"
|
|
fi
|
|
- name: Compile changes
|
|
if: ${{ steps.changes-exist.outputs.changes-exist == 'true' }}
|
|
run: |
|
|
npm ci --ignore-scripts
|
|
npm audit signatures
|
|
npm run all
|
|
- name: Create Pull Request
|
|
if: ${{ steps.changes-exist.outputs.changes-exist == 'true' }}
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
with:
|
|
commit-message: "chore: update known checksums"
|
|
title:
|
|
"chore: update known checksums for ${{
|
|
steps.update-known-checksums.outputs.latest-version }}"
|
|
body:
|
|
"chore: update known checksums for ${{
|
|
steps.update-known-checksums.outputs.latest-version }}"
|
|
base: main
|
|
labels: "automated-pr,update-known-checksums"
|
|
branch: update-known-checksums-pr
|
|
delete-branch: true
|