Skip to content

Commit 8ec767d

Browse files
committed
Add permissions to GitHub workflows
1 parent ed45933 commit 8ec767d

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/lint-and-analyse-php.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Lint and analyse PHP files
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
pull_request:

.github/workflows/lint-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Lint PHP documentation
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
pull_request:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Run tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
pull_request:

0 commit comments

Comments
 (0)