Skip to content

Commit 3d2fdc8

Browse files
committed
minor #1360 Add permissions to the GitHub Actions workflows (rosier)
This PR was merged into the main branch. Discussion ---------- Add permissions to the GitHub Actions workflows Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions Commits ------- a410a66 Add permissions to the GitHub Actions workflows
2 parents ecf3f85 + a410a66 commit 3d2fdc8

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)