From 47f62a87a7d0d145215793c959b7d5bdedb2fd60 Mon Sep 17 00:00:00 2001 From: Anton Larin Date: Mon, 21 Aug 2023 20:19:37 +0200 Subject: [PATCH] Revert "experiment with permissions" This reverts commit 44f353861a2b3d68e625f2538e9491a28ca92e85. --- .github/workflows/pytest.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index fee47fa7..1dcd6662 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,14 +1,13 @@ -name: Run Python tests with pytest +name: Run python tests with pytest on: [push, pull_request] -permissions: - pull-requests: write - jobs: pytest_and_coverage: name: Run tests and count coverage - + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest strategy: matrix: