Skip to content

Commit bd16c07

Browse files
committed
Scope down GitHub token permissions for lint-php.yml
1 parent d3093fe commit bd16c07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/lint-php.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on: # yamllint disable-line rule:truthy
88
- ".github/linters/phpcs.xml"
99
- ".github/workflows/php-lint.yml"
1010

11+
12+
permissions:
13+
contents: read
14+
1115
jobs:
1216
phpcs:
1317
name: "PHP Linter"

0 commit comments

Comments
 (0)