Skip to content

Commit 5e14226

Browse files
committed
fix: add subject-path to build provenance attestation
Resolves CI error where actions/attest-build-provenance requires one of subject-path, subject-digest, or subject-checksums parameters.
1 parent 3aef4c2 commit 5e14226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111
contents: write
1212
pull-requests: write
1313
id-token: write # Required for npm provenance
14+
attestations: write # Required for build provenance attestations
1415

1516
jobs:
1617
release:
@@ -44,6 +45,8 @@ jobs:
4445

4546
- name: Attest Build Provenance
4647
uses: actions/[email protected]
48+
with:
49+
subject-path: 'packages/*/dist/**'
4750

4851
- name: Create Release Pull Request or Publish to npm
4952
id: changesets

0 commit comments

Comments
 (0)