Skip to content

Commit 4562caf

Browse files
committed
Add missing permissions to GitHub workflows
1 parent fe8e3bf commit 4562caf

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.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/mutation-tests.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ master ]

.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)