Skip to content

Commit 9c05d6b

Browse files
Actions: Assign permissions to workflows (#215)
* Update code-quality.yml * Update test.yml
1 parent 41cbc93 commit 9c05d6b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
- "phpcs.xml"
1414
- ".github/workflows/code-quality.yml"
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
phpstan:
1821
name: PHPStan

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- ".github/workflows/test.yml"
1515
- ".ci/docker-compose.yml"
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821
test:
1922
name: PHPUnit

0 commit comments

Comments
 (0)