Skip to content

Commit 2209998

Browse files
committed
Limit GitHub workflow permissions to contents:read
as this seems to be enough even though there's an artifact upload action in play ... Signed-off-by: marko-bekhta <[email protected]>
1 parent ad3c0d0 commit 2209998

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci-report.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ defaults:
1515
env:
1616
MAVEN_ARGS: "-e -B --settings .github/mvn-settings.xml --fail-at-end -Pci-build --no-transfer-progress"
1717

18+
permissions:
19+
contents: read
20+
1821
jobs:
1922
publish-build-scans:
2023
name: Publish Develocity build scans

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ env:
5151
MAVEN_ARGS: "-e -B --settings .github/mvn-settings.xml --fail-at-end -Pci-build --no-transfer-progress"
5252
TESTCONTAINERS_REUSE_ENABLE: true
5353

54+
permissions:
55+
contents: read
56+
5457
jobs:
5558
build:
5659
name: ${{matrix.os.name}}

0 commit comments

Comments
 (0)