Skip to content

Commit 45ece48

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

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/static.yml

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

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

5+
permissions:
6+
contents: read
7+
58
jobs:
69
pint:
710
runs-on: ubuntu-latest
@@ -60,4 +63,4 @@ jobs:
6063
composer-options: "--prefer-dist"
6164

6265
- name: Run PHPStan
63-
run: vendor/bin/phpstan analyse --no-progress --ansi
66+
run: vendor/bin/phpstan analyse --no-progress --ansi

0 commit comments

Comments
 (0)