Skip to content

Commit 9b1c61b

Browse files
committed
set top-level permission with default read
1 parent d6336e8 commit 9b1c61b

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/deploy-apidocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- 'system/**'
1212
- '.github/workflows/deploy-apidocs.yml'
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
build:
1619
name: Deploy to api

.github/workflows/deploy-distributables.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ on:
66
release:
77
types: [published]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
check-version:
1114
name: Check for updated version
12-
permissions:
13-
contents: read
1415
runs-on: ubuntu-22.04
1516

1617
steps:

.github/workflows/deploy-userguide-latest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
paths:
1313
- 'user_guide_src/**'
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
build:
1720
name: Deploy to gh-pages

0 commit comments

Comments
 (0)