Skip to content

Commit 6a35a9e

Browse files
committed
Add GH workflow content: read permissions
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
1 parent 93b587b commit 6a35a9e

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request: {}
55
workflow_dispatch: {}
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build:
912
name: Build and Test

‎.github/workflows/conformance.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches: [main]
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
env:
1013
CONFORMANCE: '@modelcontextprotocol/conformance@0.2.0-alpha.12'
1114

‎.github/workflows/maven-central-release.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Release to Maven Central
33
on:
44
workflow_dispatch:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
publish:
811
runs-on: ubuntu-latest

‎.github/workflows/publish-snapshot.yml‎

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

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
name: Build branch

0 commit comments

Comments
 (0)