Skip to content

Commit da5a03c

Browse files
committed
ci: add least-privilege permissions block
1 parent 45ece48 commit da5a03c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Tests
22

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

5+
permissions:
6+
contents: read
7+
58
jobs:
69
ci:
710
runs-on: ${{ matrix.os }}
@@ -38,4 +41,4 @@ jobs:
3841
composer-options: "--prefer-dist"
3942

4043
- name: Run Tests
41-
run: vendor/bin/pest --display-deprecation ${{ matrix.dependency-version == 'highest' && '--fail-on-deprecation' || '' }}
44+
run: vendor/bin/pest --display-deprecation ${{ matrix.dependency-version == 'highest' && '--fail-on-deprecation' || '' }}

0 commit comments

Comments
 (0)