Skip to content

Commit 237990d

Browse files
committed
ci: add least-privilege permissions block
1 parent 07d3169 commit 237990d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Continuous Integration
22

33
on: ['push', 'pull_request']
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
ci:
710
runs-on: ubuntu-latest
@@ -41,5 +44,4 @@ jobs:
4144
run: vendor/bin/phpstan analyse
4245

4346
- name: PHPUnit Testing
44-
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
45-
47+
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml

0 commit comments

Comments
 (0)