Skip to content

Commit

Permalink
give write permission to the publish job so it can create a release (#…
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
kn-ms and kn-ms authored Sep 12, 2024
1 parent c431ada commit aaf8d07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cut_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"sphinx<2",
"sphinx_rtd_theme",
"setuptools",
"pytest",
"pytest<8.3.3",
"pytest-mock",
"py",
"psutil",
Expand Down

0 comments on commit aaf8d07

Please sign in to comment.