Skip to content

Commit 571abae

Browse files
committed
update workflow permissions
1 parent 0c28db8 commit 571abae

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
- "tests/**"
2222

2323
name: Build and Test
24+
permissions:
25+
contents: read
26+
pull-requests: write
2427

2528
jobs:
2629
minimum-version-check:

.github/workflows/publish-website.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Publish website
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on:
36
workflow_dispatch:
47

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Publish packages
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on:
36
release:
47
types: [published]

.github/workflows/release-cddl.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Draft release
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on:
36
push:
47
branches:

.github/workflows/release-vscode-extension.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Draft release for VSCode Extension
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on:
36
push:
47
branches:

0 commit comments

Comments
 (0)