Skip to content

Commit 2a24477

Browse files
committed
Both actions recommend contents:read permission.
1 parent f31428e commit 2a24477

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ env:
1414
PIP_DISABLE_PIP_VERSION_CHECK: 1
1515
PIP_NO_PYTHON_VERSION_WARNING: 1
1616

17-
permissions: {}
18-
1917
jobs:
2018
build:
2119
runs-on: ubuntu-latest
@@ -25,6 +23,9 @@ jobs:
2523
matrix:
2624
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", pypy-3.11]
2725

26+
permissions:
27+
contents: read
28+
2829
steps:
2930
- name: Check out project
3031
uses: actions/checkout@v6

0 commit comments

Comments
 (0)