Skip to content

Commit ea6e851

Browse files
authored
chore: add permissions section to GitHub Actions workflows (#4618)
1 parent fe65049 commit ea6e851

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/coverage.yml‎

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
tests:
1114
name: Unit tests

‎.github/workflows/unit-tests.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Unit tests
22

33
on: pull_request
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
chrome:
710
name: Chrome

‎.github/workflows/verify.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Verify
22

33
on: pull_request
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
lint:
710
name: Lint

‎.github/workflows/visual-tests.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Visual tests
22

33
on: pull_request
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
lumo:
710
name: Lumo

0 commit comments

Comments
 (0)