From 44f353861a2b3d68e625f2538e9491a28ca92e85 Mon Sep 17 00:00:00 2001 From: Anton Larin Date: Mon, 21 Aug 2023 13:48:18 +0200 Subject: [PATCH] experiment with permissions --- .github/workflows/pytest.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1dcd6662..fee47fa7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,13 +1,14 @@ -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: