From 48260d3f60264fbf8cc63261a2330a61f01b04e0 Mon Sep 17 00:00:00 2001 From: Zuri Klaschka Date: Tue, 29 Oct 2024 02:33:04 +0100 Subject: [PATCH] fix: :green_heart: Attempt 2 to fix JSR provenance --- .github/workflows/publish-jsr.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-jsr.yml b/.github/workflows/publish-jsr.yml index 5852368..5fa81de 100644 --- a/.github/workflows/publish-jsr.yml +++ b/.github/workflows/publish-jsr.yml @@ -1,5 +1,4 @@ -name: Publish to JSR 🚀 - +name: Publish on JSR on: push: branches: @@ -7,13 +6,14 @@ on: jobs: publish: - name: Publish JSR Package 📦 runs-on: ubuntu-latest + permissions: contents: read - id-token: write # The OIDC ID token is used for authentication with JSR. + id-token: write + steps: - - name: Checkout Repository 🛎️ - uses: actions/checkout@v4 - - name: Publish Package 🚀 + - uses: actions/checkout@v4 + + - name: Publish package run: npx jsr publish