From 2d22c47b9ebca015cd551395b5d15860fc7a6c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 27 Jun 2024 20:51:19 +0200 Subject: [PATCH] fix: allow id-token for SLSA --- .github/workflows/publish.yml | 2 ++ .github/workflows/publishprerelease.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bc09032..d848f48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,8 @@ on: jobs: publish: + permissions: + id-token: 'write' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publishprerelease.yml b/.github/workflows/publishprerelease.yml index b503d89..183d8ae 100644 --- a/.github/workflows/publishprerelease.yml +++ b/.github/workflows/publishprerelease.yml @@ -4,6 +4,8 @@ on: jobs: publish: + permissions: + id-token: 'write' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3