Skip to content

Commit 429b7c3

Browse files
committed
Set workflow permissions explicitly
1 parent 4f016e0 commit 429b7c3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags: ['v*']
66

7+
permissions:
8+
contents: write
9+
710
jobs:
811
build:
912
runs-on: ubuntu-latest

.github/workflows/test.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [master]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
check:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)