Skip to content

Commit 8a59b29

Browse files
committed
Revert "Improve GitHub Actions specs (#15965)"
This reverts commit 6c16143.
1 parent 6c16143 commit 8a59b29

File tree

5 files changed

+0
-23
lines changed

5 files changed

+0
-23
lines changed

.github/workflows/build_wheels.yml

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

8-
permissions:
9-
contents: write
10-
118
jobs:
129
build-wheels:
1310
if: github.repository == 'python/mypy'

.github/workflows/docs.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ on:
1414
- CREDITS
1515
- LICENSE
1616

17-
permissions:
18-
contents: read
19-
20-
concurrency:
21-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
22-
cancel-in-progress: true
23-
2417
jobs:
2518
docs:
2619
runs-on: ubuntu-latest

.github/workflows/mypy_primer.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ on:
1515
- 'mypy/test/**'
1616
- 'test-data/**'
1717

18-
permissions:
19-
contents: read
20-
2118
concurrency:
2219
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2320
cancel-in-progress: true

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ on:
1515
- CREDITS
1616
- LICENSE
1717

18-
permissions:
19-
contents: read
20-
2118
concurrency:
2219
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2320
cancel-in-progress: true

.github/workflows/test_stubgenc.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ on:
1212
- 'mypy/stubdoc.py'
1313
- 'test-data/stubgen/**'
1414

15-
permissions:
16-
contents: read
17-
18-
concurrency:
19-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20-
cancel-in-progress: true
21-
2215
jobs:
2316
stubgenc:
2417
# Check stub file generation for a small pybind11 project

0 commit comments

Comments
 (0)