Skip to content

Commit 8642b35

Browse files
authored
mypy_primer: fix comment permissions (#10476)
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 Co-authored-by: hauntsaninja <>
1 parent 030d661 commit 8642b35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/mypy_primer.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
mypy_primer:
1414
name: Run
1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
1618
strategy:
1719
matrix:
1820
shard-index: [0, 1, 2]
@@ -61,6 +63,7 @@ jobs:
6163
runs-on: ubuntu-latest
6264
needs: mypy_primer
6365
permissions:
66+
contents: read
6467
pull-requests: write
6568
steps:
6669
- name: Download diffs

0 commit comments

Comments
 (0)