Skip to content

Commit 7a70626

Browse files
authored
[TASK] Narrow the permissions for the CI workflows (#1632)
https://docs.zizmor.sh/audits/#excessive-permissions Part of #1628
1 parent 7df1210 commit 7a70626

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010

1111
name: CI
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
php-lint:
1518
name: PHP Lint

.github/workflows/codecoverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
name: Code coverage
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
code-coverage:
1316
name: Code coverage

0 commit comments

Comments
 (0)