Context
The release workflow (.github/workflows/release.yml) now supports signing dist/index.js with auths artifact sign during releases, matching the pattern in auths-dev/auths. The CI workflow has a verify-artifacts job commented out, waiting for the first signed release.
Steps
Add CI secrets to this repo (Settings → Secrets → Actions):
AUTHS_CI_PASSPHRASEAUTHS_CI_KEYCHAINAUTHS_CI_IDENTITY_BUNDLE
These are the same secrets used in auths-dev/auths. Generate them with just ci-setup in the auths monorepo if they don't exist yet.
Cut a release to produce the first signed artifact:
Verify the GitHub Release has dist/index.js.auths.json attached.
Uncomment the verify-artifacts job in .github/workflows/ci.yml (~line 48) and provide the identity bundle:
verify-artifacts:
runs-on: ubuntu-latestneeds: build-and-teststeps:
- uses: actions/checkout@v4with:
fetch-depth: 0
- name: Verify dist/index.js attestationuses: ./with:
identity-bundle-json: ${{ secrets.AUTHS_CI_IDENTITY_BUNDLE }}artifact-paths: 'dist/index.js'fail-on-unattested: trueCommit and push. CI should now verify the dist/index.js attestation on every push/PR.
Why
This completes the supply-chain dogfooding story: the action verifies its own bundled artifact using the same mechanism it provides to consumers.
Context
The release workflow (
.github/workflows/release.yml) now supports signingdist/index.jswithauths artifact signduring releases, matching the pattern inauths-dev/auths. The CI workflow has averify-artifactsjob commented out, waiting for the first signed release.Steps
Add CI secrets to this repo (Settings → Secrets → Actions):
AUTHS_CI_PASSPHRASEAUTHS_CI_KEYCHAINAUTHS_CI_IDENTITY_BUNDLEThese are the same secrets used in
auths-dev/auths. Generate them withjust ci-setupin the auths monorepo if they don't exist yet.Cut a release to produce the first signed artifact:
Verify the GitHub Release has
dist/index.js.auths.jsonattached.Uncomment the
verify-artifactsjob in.github/workflows/ci.yml(~line 48) and provide the identity bundle:Commit and push. CI should now verify the
dist/index.jsattestation on every push/PR.Why
This completes the supply-chain dogfooding story: the action verifies its own bundled artifact using the same mechanism it provides to consumers.