Skip to content

Commit b501457

Browse files
committed
fix pypi workflow permissions
1 parent 05fd1d1 commit b501457

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
# Run CI tests first to ensure quality
1111
test:
1212
uses: ./.github/workflows/ci.yml
13-
secrets: inherit
13+
secrets: inherit # pragma: allowlist secret
14+
permissions:
15+
contents: read
16+
security-events: write
1417

1518
build:
1619
name: Build distribution

0 commit comments

Comments
 (0)