From ec82e73efac65b948dbbebf8c44885ab08acd53a Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Thu, 5 Oct 2023 18:29:36 +0800 Subject: [PATCH] Fix provenance release (#8749) --- .github/workflows/release.yml | 3 +++ packages/create-astro/package.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7161a0d0f..7fe7add2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,9 @@ jobs: name: Changelog PR or Release if: ${{ github.repository_owner == 'withastro' }} runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v3 diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 4b526d48b..e7c1afb09 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -44,5 +44,8 @@ }, "engines": { "node": ">=18.14.1" + }, + "publishConfig": { + "provenance": true } }