From aaf8d074d5333f6a5c6910f27d578f8710afd25e Mon Sep 17 00:00:00 2001 From: Krisztian Notaisz <61833595+kn-ms@users.noreply.github.com> Date: Thu, 12 Sep 2024 17:07:08 +0200 Subject: [PATCH] give write permission to the publish job so it can create a release (#1134) * give write permission to the publish job so it can create a release * pin pytest version as a temporary solution --------- Co-authored-by: Krisztian Notaisz --- .github/workflows/cut_version.yml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cut_version.yml b/.github/workflows/cut_version.yml index 4d87bfe9b..61cc30134 100644 --- a/.github/workflows/cut_version.yml +++ b/.github/workflows/cut_version.yml @@ -50,6 +50,7 @@ jobs: publish: runs-on: ubuntu-latest + permissions: write-all needs: [cut-new-version, build] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 diff --git a/pyproject.toml b/pyproject.toml index 754400cd7..11f971ffc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ "sphinx<2", "sphinx_rtd_theme", "setuptools", - "pytest", + "pytest<8.3.3", "pytest-mock", "py", "psutil",