Skip to content

Commit a2097ad

Browse files
authored
Add explicit permissions to GHA workflows (#2159)
see php/php-src@1d45ca5
1 parent ec53557 commit a2097ad

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/check-whitespace.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
pull_request:
1010
types: [opened, synchronize]
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
check-whitespace:
1417
runs-on: ubuntu-latest

.github/workflows/integrate.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- "master"
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
name: "Build"

0 commit comments

Comments
 (0)