Skip to content

Commit 50d71d3

Browse files
committed
python-wheels: set workflow-level permissions
1 parent 3575faf commit 50d71d3

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/emu-python-wheels.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
branches:
1313
- main
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
sync-self-check:
1720
name: Sync self-check
@@ -36,8 +39,6 @@ jobs:
3639
environment:
3740
name: pypi
3841
url: https://pypi.org/p/mercury-python
39-
permissions:
40-
contents: read
4142
strategy:
4243
matrix:
4344
os: [ubuntu-latest, macos-latest]

.github/workflows/pub-python-wheels.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
branches:
1313
- main
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
sync-self-check:
1720
name: Sync self-check
@@ -36,8 +39,6 @@ jobs:
3639
environment:
3740
name: pypi
3841
url: https://pypi.org/p/mercury-python
39-
permissions:
40-
contents: read
4142
strategy:
4243
matrix:
4344
os: [ubuntu-latest, macos-latest]

0 commit comments

Comments
 (0)