Skip to content

Commit 96e48e7

Browse files
authored
Merge pull request #1575 from AdnaneKhan/update/scopedown-token
ci: scope down GitHub Token permissions
2 parents 634f283 + 2816aae commit 96e48e7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- 1.x
99
workflow_dispatch:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build_core:
1316
name: Build and test core

.github/workflows/owasp-dependency-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
schedule:
44
- cron: "10 10 * * 3"
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
owasp-dependency-check:
811
name: Verify dependencies with OWASP checker

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
description: "Version to use for further development"
1111
required: true
1212
default: "X.Y.Z-SNAPSHOT"
13+
permissions:
14+
contents: write
15+
1316
jobs:
1417
release:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)