From 742a1e3a3b10b922cac99cfa71dd28629b8f9b70 Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Wed, 2 Aug 2023 16:07:11 +0000 Subject: [PATCH] Chore: Fix pr-checks not having enough permissions (#72753) * Chore: Fix pr-checks not having enough permissions * update permissions --- .github/workflows/pr-checks.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index def014ec682..91cdba4824e 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -13,13 +13,18 @@ on: types: - milestoned - demilestoned + concurrency: group: pr-checks-${{ github.event.number }} + +permissions: + checks: write + actions: write + contents: read + pull-requests: read + jobs: main: - permissions: - actions: write - contents: read runs-on: ubuntu-latest if: github.event.pull_request.draft == false steps: