From 89d03acd798dfbfb28956be815afd5022fef77c1 Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:16:15 -0800 Subject: [PATCH] Add permission to benchmark CI (#264) --- .github/workflows/Benchmark.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index 98e0276a1..a5298b872 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -6,6 +6,11 @@ on: - master workflow_dispatch: +permissions: + contents: write + pull-requests: write + repository-projects: write + jobs: benchmark: strategy: @@ -59,6 +64,8 @@ jobs: needs: benchmark runs-on: ubuntu-latest if: github.event_name == 'pull_request' + permissions: + pull-requests: write steps: - name: Download all benchmark results