Skip to content

Commit 4cdd52e

Browse files
committed
Add explicit permissions to workflow
1 parent 87e272f commit 4cdd52e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: CI
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
build:
710
name: Build
@@ -29,4 +32,4 @@ jobs:
2932
run: go get -v -t -d .
3033

3134
- name: Build go
32-
run: go build
35+
run: go build

0 commit comments

Comments
 (0)