Skip to content

Commit 1ecc069

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 00d50d3 commit 1ecc069

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/phpstan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: PHPStan
2+
permissions:
3+
contents: read
24

35
on:
46
push:
57
paths:
68
- '**.php'
79
- 'phpstan.neon.dist'
8-
910
jobs:
1011
phpstan:
1112
name: phpstan

0 commit comments

Comments
 (0)