From 3714a325780943bf5faf58b32339baf18ea69090 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Fri, 3 May 2024 17:50:16 +0530 Subject: [PATCH] test: move permissions inside job Signed-off-by: K.B.Dharun Krishna --- .github/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 884c93db2dbf12..cae6bc247c6fed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,15 +2,13 @@ name: CI on: ['push', 'pull_request'] -permissions: - contents: write # to upload assets to releases - attestations: write - jobs: ci: - runs-on: ubuntu-latest - name: CI + runs-on: ubuntu-latest + permissions: + contents: write # to upload assets to releases + attestations: write # to upload assets attestation for build provenance steps: - uses: actions/checkout@v4 @@ -55,4 +53,4 @@ jobs: - uses: actions/attest-build-provenance@v1 with: - subject-path: '*' + subject-path: "*"