Skip to content

Commit a3fa897

Browse files
committed
Add permissions to github actions
1 parent 35b68c5 commit a3fa897

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/doc-build.yml

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

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

.github/workflows/release.yml

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

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

.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:

.github/workflows/test.yml

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

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

0 commit comments

Comments
 (0)