Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit 39db6a4

Browse files
authored
Add package provenance (#552)
1 parent f40d213 commit 39db6a4

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.changeset/three-glasses-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@crowdstrike/glide-core': patch
3+
---
4+
5+
`@crowdstrike/glide-core` [now](https://www.npmjs.com/package/@crowdstrike/glide-core#provenance-details-header) has an NPM [provenance statement](https://docs.npmjs.com/generating-provenance-statements#about-npm-provenances).

.github/workflows/on-push-branch-main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
runs-on: ubuntu-latest
2828
needs:
2929
- install_dependencies
30+
permissions:
31+
# https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
32+
id-token: write
3033

3134
steps:
3235
- uses: actions/checkout@v4

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"type": "git",
1010
"url": "https://github.com/CrowdStrike/glide-core.git"
1111
},
12+
"publishConfig": {
13+
"provenance": true
14+
},
1215
"files": [
1316
"dist",
1417
"!dist/eslint",

0 commit comments

Comments
 (0)