From 09a3c422bf9e95294fbb5dd432385c8161ade1f5 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Fri, 14 May 2021 18:20:59 -0700 Subject: [PATCH] mypy_primer: fix comment permissions Port #5452 We didn't have the global permission set, so maybe it wasn't broken, but explicitly setting permissions seems like a good thing --- .github/workflows/mypy_primer.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/mypy_primer.yml b/.github/workflows/mypy_primer.yml index fc57eb277c757..ee542c32ccd6c 100644 --- a/.github/workflows/mypy_primer.yml +++ b/.github/workflows/mypy_primer.yml @@ -13,6 +13,8 @@ jobs: mypy_primer: name: Run runs-on: ubuntu-latest + permissions: + contents: read strategy: matrix: shard-index: [0, 1, 2] @@ -61,6 +63,7 @@ jobs: runs-on: ubuntu-latest needs: mypy_primer permissions: + contents: read pull-requests: write steps: - name: Download diffs