From 8f4b202ea02c71ade9b33edb038baabf04de5e28 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 26 Apr 2024 12:16:23 +0200 Subject: [PATCH] github-action: add attestations scope --- .github/workflows/release.yml | 1 + .github/workflows/snapshot.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89388788..3fa662ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,6 +67,7 @@ jobs: needs: - validate-tag permissions: + attestations: write contents: write id-token: write env: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 605b7d02..744be9e0 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -38,6 +38,7 @@ jobs: needs: validate if: ${{ contains(needs.validate.outputs.is-snapshot, 'true') }} permissions: + attestations: write contents: write id-token: write env: