Skip to content

Commit 2fc6c7f

Browse files
committed
feat: add permissions for github action
1 parent 333e05b commit 2fc6c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yml

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

44
name: Go
5-
65
on:
76
push:
87
branches: [ "main" ]
@@ -11,8 +10,9 @@ on:
1110
pull_request:
1211
branches: [ "main" ]
1312

13+
permissions:
14+
contents: write
1415
jobs:
15-
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:

0 commit comments

Comments
 (0)