Skip to content

Commit d2dae89

Browse files
committed
[CI] Limit Pages write permissions to deploy job
1 parent 5f1e6ac commit d2dae89

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/pages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ on:
55
workflow_dispatch:
66

77
permissions:
8-
id-token: write
98
contents: read
10-
pages: write
119

1210
jobs:
1311
build-doxygen-xml:
@@ -101,6 +99,10 @@ jobs:
10199
- build-sphinx
102100
- build-scoreboard
103101
runs-on: ubuntu-26.04
102+
permissions:
103+
id-token: write
104+
contents: read
105+
pages: write
104106
environment:
105107
name: github-pages
106108
concurrency:

0 commit comments

Comments
 (0)