Skip to content

Commit 2617692

Browse files
committed
ci(github): Reducing permissions scope for workflow
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 541ef99 commit 2617692

File tree

5 files changed

+60
-0
lines changed

5 files changed

+60
-0
lines changed

.github/workflows/branch_clean.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
---
22
name: Git
33

4+
permissions:
5+
actions: read
6+
checks: read
7+
contents: read
8+
deployments: read
9+
issues: read
10+
packages: read
11+
pages: read
12+
pull-requests: read
13+
repository-projects: read
14+
security-events: read
15+
416
on:
517
- pull_request
618

.github/workflows/build.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
---
22
name: Build
33

4+
permissions:
5+
actions: read
6+
checks: read
7+
contents: read
8+
deployments: read
9+
issues: read
10+
packages: read
11+
pages: read
12+
pull-requests: read
13+
repository-projects: read
14+
security-events: read
15+
416
on:
517
push:
618
branches:

.github/workflows/codeql-analysis.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
---
22
name: CodeQL
33

4+
permissions:
5+
actions: read
6+
checks: read
7+
contents: read
8+
deployments: read
9+
issues: read
10+
packages: read
11+
pages: read
12+
pull-requests: read
13+
repository-projects: read
14+
security-events: read
15+
416
on:
517
push:
618
branches:

.github/workflows/herodote.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
---
22
name: Herodote
33

4+
permissions:
5+
actions: read
6+
checks: read
7+
contents: read
8+
deployments: read
9+
issues: read
10+
packages: read
11+
pages: read
12+
pull-requests: read
13+
repository-projects: read
14+
security-events: read
15+
416
on:
517
push:
618
branches:

.github/workflows/release.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
---
22
name: Release
33

4+
permissions:
5+
actions: read
6+
checks: read
7+
contents: read
8+
deployments: read
9+
issues: read
10+
packages: read/write
11+
pages: read
12+
pull-requests: read
13+
repository-projects: read
14+
security-events: read
15+
416
on:
517
release:
618
types:

0 commit comments

Comments
 (0)