Skip to content

Commit 13ccf44

Browse files
committed
fix: Permissions
1 parent 251169f commit 13ccf44

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/build-wheel.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
github-token:
1717
required: true
1818

19+
permissions:
20+
contents: read
21+
packages: read
22+
actions: read
23+
1924
jobs:
2025
build:
2126
runs-on: ${{ inputs.runs-on }}

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
required: true
2020
default: 'false'
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
# TODO reactivate tests & debug test runs once publishing squared out
2427
# tests:
@@ -111,7 +114,6 @@ jobs:
111114
112115
sdist:
113116
runs-on: ubuntu-latest
114-
115117
if: |
116118
github.event_name != 'pull_request' ||
117119
github.event.pull_request.author_association == 'COLLABORATOR' ||

0 commit comments

Comments
 (0)