Skip to content

Commit

Permalink
Merge branch 'main' into hd-astro-v5
Browse files Browse the repository at this point in the history
* main:
  Fix release workflow permissions (#2665)
  Publish provenance for public packages (#2664)
  • Loading branch information
HiDeoo committed Dec 13, 2024
2 parents 13c8796 + cb3cb21 commit 39d6f3b
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/sweet-poems-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@astrojs/starlight-docsearch': patch
'@astrojs/starlight': patch
'@astrojs/starlight-tailwind': patch
'@astrojs/starlight-markdoc': patch
---

Publishes provenance containing verifiable data to link a package back to its source repository and the specific build instructions used to publish it.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
name: Release
if: ${{ github.repository_owner == 'withastro' }}
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions packages/docsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
},
"devDependencies": {
"@astrojs/starlight": "workspace:*"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@
"peerDependencies": {
"@astrojs/markdoc": "^0.12.1",
"@astrojs/starlight": ">=0.23.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/starlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,8 @@
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.2"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"@astrojs/starlight": ">=0.9.0",
"@astrojs/tailwind": "^5.1.3",
"tailwindcss": "^3.3.3"
},
"publishConfig": {
"provenance": true
}
}

0 comments on commit 39d6f3b

Please sign in to comment.