Skip to content

Commit a33b61c

Browse files
authored
Merge pull request #88 from github/actions-permissions
workflow: set restricted permissions
2 parents 48b0862 + f630528 commit a33b61c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/go-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: go test
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: golangci-lint
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58

0 commit comments

Comments
 (0)