Skip to content

Commit 64cd6e7

Browse files
committed
CI: restrict permissions
1 parent 35fa54f commit 64cd6e7

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

Diff for: .github/workflows/cd.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CD
22

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

Diff for: .github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CI
22

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

Diff for: .github/workflows/docs-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Docs Build
22

3+
permissions:
4+
contents: read
5+
36
on: [push, pull_request]
47

58
jobs:

Diff for: .github/workflows/docs-deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Docs Deploy
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_run:
58
workflows: ["Docs Build"]

0 commit comments

Comments
 (0)