Skip to content

Commit 19f9cbc

Browse files
committed
chore(.github/workflows): add permissions
1 parent 1a92e55 commit 19f9cbc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/linux.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Linux
22

3-
on: [push]
3+
on:
4+
push:
45

56
jobs:
67
ci:
8+
permissions:
9+
contents: read
10+
711
runs-on: ubuntu-latest
812

913
strategy:

.github/workflows/windows.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ env:
1212

1313
jobs:
1414
ci:
15+
permissions:
16+
contents: read
17+
1518
strategy:
1619
matrix:
1720
php:

0 commit comments

Comments
 (0)