From 8a59b29be98b5d9465be1d2b05808b147b5e6c91 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Tue, 29 Aug 2023 23:22:11 +0300 Subject: [PATCH] Revert "Improve GitHub Actions specs (#15965)" This reverts commit 6c16143c3a68c99f6e4c99974c44cf3abf867103. --- .github/workflows/build_wheels.yml | 3 --- .github/workflows/docs.yml | 7 ------- .github/workflows/mypy_primer.yml | 3 --- .github/workflows/test.yml | 3 --- .github/workflows/test_stubgenc.yml | 7 ------- 5 files changed, 23 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 3f4ea5e42f9b..e728d741d90d 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -5,9 +5,6 @@ on: branches: [main, master, 'release*'] tags: ['*'] -permissions: - contents: write - jobs: build-wheels: if: github.repository == 'python/mypy' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9f3a6121ae16..5dc86a1159f4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,13 +14,6 @@ on: - CREDITS - LICENSE -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - jobs: docs: runs-on: ubuntu-latest diff --git a/.github/workflows/mypy_primer.yml b/.github/workflows/mypy_primer.yml index 2958b8fc325b..e7e4af1f07b7 100644 --- a/.github/workflows/mypy_primer.yml +++ b/.github/workflows/mypy_primer.yml @@ -15,9 +15,6 @@ on: - 'mypy/test/**' - 'test-data/**' -permissions: - contents: read - concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e335a59d1d0..f594353ed05a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,6 @@ on: - CREDITS - LICENSE -permissions: - contents: read - concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/test_stubgenc.yml b/.github/workflows/test_stubgenc.yml index 33466b9870ff..db9bf413faa3 100644 --- a/.github/workflows/test_stubgenc.yml +++ b/.github/workflows/test_stubgenc.yml @@ -12,13 +12,6 @@ on: - 'mypy/stubdoc.py' - 'test-data/stubgen/**' -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - jobs: stubgenc: # Check stub file generation for a small pybind11 project