Skip to content

Commit 91e0918

Browse files
authored
ci: set minimal permissions on workflows (python-ldap#525)
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
1 parent e756eac commit 91e0918

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

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

44
on: [push, pull_request]
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
distros:
811
name: "Ubuntu with Python ${{ matrix.python-version }}"

.github/workflows/tox-fedora.yml

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

33
name: Tox on Fedora
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
tox_test:
710
name: Tox env "${{matrix.tox_env}}" on Fedora

0 commit comments

Comments
 (0)