From e6cbc2e653d94ab95648199072d228671ad9a73e Mon Sep 17 00:00:00 2001 From: "Li, Ian" Date: Tue, 17 Sep 2024 13:14:09 -0700 Subject: [PATCH] changed permissions to allow aggregate --- .github/workflows/sycl-linux-benchmark.yml | 4 +++- .github/workflows/sycl-linux-precommit.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sycl-linux-benchmark.yml b/.github/workflows/sycl-linux-benchmark.yml index ff7f8616dff00..b49fd3f0a35d9 100644 --- a/.github/workflows/sycl-linux-benchmark.yml +++ b/.github/workflows/sycl-linux-benchmark.yml @@ -271,4 +271,6 @@ jobs: test_aggregate: name: Testing sycl-benchmark-aggregate.yml (DELETE AFTER) - uses: ./.github/workflows/sycl-benchmark-aggregate.yml \ No newline at end of file + uses: ./.github/workflows/sycl-benchmark-aggregate.yml + permissions: + contents: write \ No newline at end of file diff --git a/.github/workflows/sycl-linux-precommit.yml b/.github/workflows/sycl-linux-precommit.yml index ac017a0aac1f0..5b75c641063db 100644 --- a/.github/workflows/sycl-linux-precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -189,6 +189,8 @@ jobs: benchmark: needs: [build, detect_changes ] + permissions: + contents: write if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }} strategy: fail-fast: false