Skip to content

Commit 3e1e924

Browse files
authored
Test release and fix provenance (#2791)
* Test release and fix provenance * added changeset
1 parent ab7f48e commit 3e1e924

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.changeset/eighty-crews-burn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphql-scalars': patch
3+
---
4+
5+
Enable npm provenance

.github/workflows/pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- master
77

88
jobs:
9-
dependencies:
10-
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
11-
secrets:
12-
githubToken: ${{ secrets.GITHUB_TOKEN }}
13-
149
canary:
1510
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
11+
permissions:
12+
contents: write
13+
id-token: write
14+
actions: write
15+
pull-requests: write
1616
with:
1717
npmTag: alpha
1818
buildScript: build

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
jobs:
99
stable:
1010
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
11+
permissions:
12+
contents: write
13+
id-token: write
14+
actions: write
15+
pull-requests: write
1116
with:
1217
releaseScript: release
1318
nodeVersion: 22

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
},
9191
"publishConfig": {
9292
"directory": "dist",
93-
"access": "public"
93+
"access": "public",
94+
"provenance": true
9495
},
9596
"sideEffects": false,
9697
"lint-staged": {

0 commit comments

Comments
 (0)