Skip to content

Commit 37abcb5

Browse files
committed
add permissions to workflows
1 parent 256f15f commit 37abcb5

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/build_docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Docs
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Tests
2+
3+
permissions:
4+
contents: read
5+
26
on: [push]
37

48
jobs:

.github/workflows/snapshot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Snapshot on demand
22

3+
permissions:
4+
contents: read
5+
36
on: [workflow_dispatch]
47

58
jobs:

0 commit comments

Comments
 (0)