From 127ebbaa039b75b91afd8aa365a033e1c33b5505 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 28 Feb 2025 01:24:52 +0000 Subject: [PATCH] ci(benchmarks): set correct permissions for benchmarks job (#8) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 771e3ff..87b29f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,9 @@ jobs: name: Store benchmarks runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' + permissions: + deployments: write + contents: write steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 @@ -118,7 +121,7 @@ jobs: with: tool: "go" output-file-path: output.txt - github-token: ${{ secrets.GH_PUSH_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} comment-on-alert: true auto-push: true