Skip to content

Commit 5baf567

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

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/linux.yaml

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

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

56
jobs:
67
ci:
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
712
runs-on: ubuntu-latest
813

914
strategy:

.github/workflows/windows.yaml

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

1313
jobs:
1414
ci:
15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
1519
strategy:
1620
matrix:
1721
php:

0 commit comments

Comments
 (0)