Skip to content

Commit 656e517

Browse files
committed
.github: workflows: docs: restrict permissions
Restrict permissions explicitly Signed-off-by: Thomas Stranger <[email protected]>
1 parent ca6d1b1 commit 656e517

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@ name: Documentation
55

66
on: [push, pull_request]
77

8+
permissions:
9+
contents: read
10+
811
env:
912
DOXYGEN_VERSION: 1.9.6
1013

1114
jobs:
1215
build:
16+
name: Build documentation
1317
runs-on: ubuntu-22.04
1418
steps:
1519
- name: Checkout
1620
uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
1723

1824
- name: Install dependencies
1925
run: |
@@ -50,6 +56,7 @@ jobs:
5056
path: doc/deploy
5157

5258
deploy:
59+
name: Deploy documentaion
5360
runs-on: ubuntu-22.04
5461
needs: build
5562
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)