Skip to content

Commit ef363cb

Browse files
authored
ci: fix pipeline permissions (#220)
Signed-off-by: Kim Oliver Drechsel <[email protected]>
1 parent 3cb6912 commit ef363cb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/cleanup_zones.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: "Cleanup DNS Zones"
2+
23
on:
34
workflow_dispatch:
45
schedule:
56
- cron: "0 0 * * *"
67

8+
permissions:
9+
contents: read
10+
711
jobs:
812
cleanup:
913
runs-on: ubuntu-latest

.github/workflows/spelling.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Spell checking
22

3-
# Trigger on pull requests, and pushes to master branch.
43
on:
54
push:
65
branches:
@@ -9,6 +8,9 @@ on:
98
branches:
109
- main
1110

11+
permissions:
12+
contents: read
13+
1214
jobs:
1315
codespell:
1416
name: Check for spelling errors

0 commit comments

Comments
 (0)