From 4c917e6cec5c05b989baa25e88fae47762564916 Mon Sep 17 00:00:00 2001 From: Eion Robb Date: Tue, 27 Aug 2024 21:15:36 +1200 Subject: [PATCH] Add permissions for build attestations --- .github/workflows/cross.yml | 5 +++++ .github/workflows/linux.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index e9adacc..54fb4a6 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -6,6 +6,11 @@ jobs: build: name: build runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + attestations: write + steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 87c8780..bf4f624 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -6,6 +6,11 @@ jobs: build: name: build runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + attestations: write + steps: - uses: actions/checkout@v4