Skip to content

Commit cd9d011

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

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

44
name: Upload Python Package
5+
permissions:
6+
contents: read
7+
packages: write
58

69
on:
710
release:

0 commit comments

Comments
 (0)