Skip to content

Commit 6caa223

Browse files
authored
Udpate workflow permissions (#219)
To fix code scan alert https://github.com/IBM-Cloud/go-etcd-rules/security/code-scanning/1
1 parent cd1f52f commit 6caa223

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
33

44
name: Go
5+
permissions:
6+
contents: read
57

68
on:
79
push:

0 commit comments

Comments
 (0)