Skip to content

Commit b82ef2f

Browse files
authored
fix: Workflow does not contain permissions (#2827)
1 parent ae2bfd0 commit b82ef2f

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/deploy.yml

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

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: deploy-dns
1114
cancel-in-progress: false

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
types: [opened, synchronize, labeled]
99
merge_group:
1010

11+
permissions:
12+
contents: read
13+
pull-requests: read
14+
1115
jobs:
1216
octodns:
1317
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)