Skip to content

Commit eb78068

Browse files
Potential fix for code scanning alert no. 74: Workflow does not contain permissions (#884)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 6de712e commit eb78068

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313

1414
jobs:
1515
ci:
16+
permissions:
17+
contents: read
1618
env:
1719
# Fake a TRAVIS env so that the pre-existing test cases would behave like before
1820
TRAVIS: true

0 commit comments

Comments
 (0)