Skip to content

Commit 05e1d5e

Browse files
Potential fix for code scanning alert no. 8: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 4268423 commit 05e1d5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
name: Build wheels for multiple Python versions
5858
needs: test
5959
runs-on: ubuntu-latest
60+
permissions:
61+
contents: read
6062

6163
steps:
6264
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)