Skip to content

Commit a410a66

Browse files
committed
Add permissions to the GitHub Actions workflows
1 parent ecf3f85 commit a410a66

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
env:
1010
fail-fast: true
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
php-cs-fixer:
1417
name: PHP-CS-Fixer

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ env:
1313
SYMFONY_REQUIRE: ">=6.0"
1414
SYMFONY_DEPRECATIONS_HELPER: 7
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
test:
1821
name: "${{ matrix.operating-system }} / PHP ${{ matrix.php-version }}"

0 commit comments

Comments
 (0)