Skip to content

Commit a4e44a2

Browse files
committed
chore: strict permissions
1 parent 9f04269 commit a4e44a2

6 files changed

Lines changed: 15 additions & 171 deletions

File tree

.github/workflows/backport.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- closed
66
- labeled
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
backport:
1013
permissions:

.github/workflows/benchmarks.yml

Lines changed: 0 additions & 171 deletions
This file was deleted.

.github/workflows/docs-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
paths:
55
- docs/**
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build:
912
permissions:

.github/workflows/docs.yml

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

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013
if: github.event_name == 'workflow_dispatch' || contains(github.ref, 'v5')

.github/workflows/nodejs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010

1111
name: CI
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
lint:
1518
permissions:

.github/workflows/stale.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
schedule:
44
- cron: '0 10 * * 0'
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
stale:
811
permissions:

0 commit comments

Comments
 (0)