Skip to content

Commit 1a5e8e3

Browse files
Limit permissions in workflows
1 parent 1a3e8c8 commit 1a5e8e3

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/code-coverage.yml

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

33
name: Coveralls.io code coverage report
44

5+
permissions:
6+
contents: read
7+
58
on:
69
push:
710
branches: [ "main" ]

.github/workflows/max-complexity.yml

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

1010
name: Query complexity
1111

12+
permissions:
13+
contents: read
14+
1215
on:
1316
push:
1417
branches: [ "main" ]

.github/workflows/pytest.yml

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

33
name: Pytest
44

5+
permissions:
6+
contents: read
7+
58
on:
69
push:
710
branches: [ "main" ]

.github/workflows/ruff.yml

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

33
name: Ruff
44

5+
permissions:
6+
contents: read
7+
58
on:
69
push:
710
branches: [ "main" ]

0 commit comments

Comments
 (0)