Skip to content

Commit d44ea68

Browse files
committed
Adress review
1 parent cfad948 commit d44ea68

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ on:
55
branches: [main, master, 'release*']
66
tags: ['*']
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build-wheels:
1013
if: github.repository == 'python/mypy'
1114
runs-on: ubuntu-latest
12-
permissions:
13-
contents: write
1415
steps:
1516
- uses: actions/checkout@v4
16-
with:
17-
persist-credentials: true # needed to push tags
1817
- uses: actions/setup-python@v5
1918
with:
2019
python-version: '3.11'

.github/workflows/mypy_primer_comment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on: # zizmor: ignore[dangerous-triggers]
77
types:
88
- completed
99

10+
permissions: {}
11+
1012
jobs:
1113
comment:
1214
name: Comment PR from mypy_primer

0 commit comments

Comments
 (0)