Skip to content

Commit c3d0be1

Browse files
arpitjain099akurtakov
authored andcommitted
ci: scope htmlvalidator workflow token to contents: read
Set an explicit least-privilege permissions block so the workflow GITHUB_TOKEN is scoped to contents: read instead of inheriting the repository default. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent 29697c5 commit c3d0be1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/htmlvalidator.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
paths:
66
- '**.htm*'
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)