Skip to content

Commit 27b04ad

Browse files
committed
chore: add permissions block to workflow(s).
1 parent 7017319 commit 27b04ad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build_docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
build_pywheels:
1414
name: Build docs with Python ${{ matrix.python-version }} on ${{ matrix.os }}
15+
permissions:
16+
contents: read
1517
runs-on: ${{ matrix.os }}
1618
strategy:
1719
matrix:

.github/workflows/linting.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
ruff-check:
99
name: Run ruff lint and format checks
10+
permissions:
11+
contents: read
1012
runs-on: ubuntu-latest
1113

1214
steps:

0 commit comments

Comments
 (0)