From 8cdf11c109760be69b75699c51ecdb6140192e5d Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Tue, 25 Jun 2024 11:45:30 +0100 Subject: [PATCH] Add permissions --- .github/workflows/build.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ddfbfb9..92b4f82 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,6 +15,9 @@ concurrency: jobs: build-from-linux: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: ./.github/actions/common-setup @@ -71,6 +74,9 @@ jobs: build-from-apple: runs-on: macos-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: ./.github/actions/common-setup @@ -92,6 +98,9 @@ jobs: build-from-legacy-apple: runs-on: macos-13 + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: ./.github/actions/common-setup @@ -113,6 +122,9 @@ jobs: bundle-x86-64-linux: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: ./.github/actions/common-setup