Skip to content

Commit 46661e9

Browse files
committed
update permissions on workflow actions
1 parent f877981 commit 46661e9

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.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

.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: [push]
47

58
jobs:

0 commit comments

Comments
 (0)