File tree Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
+ with :
16
+ persist-credentials : false
15
17
- name : golangci-lint
16
18
uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
17
19
with :
Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
pull_request : {}
7
+ permissions :
8
+ contents : read
9
+
7
10
jobs :
8
11
jsonnetfmt :
9
12
runs-on : ubuntu-latest
10
13
steps :
11
14
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
+ with :
16
+ persist-credentials : false
12
17
- uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
13
18
with :
14
19
go-version-file : go.mod
Original file line number Diff line number Diff line change 4
4
push :
5
5
tags :
6
6
- ' *'
7
-
7
+ permissions :
8
+ contents : read
9
+
8
10
jobs :
9
11
goreleaser :
12
+ permissions :
13
+ contents : write # for goreleaser/goreleaser-action to create a GitHub release
10
14
runs-on : ubuntu-latest
11
15
steps :
12
16
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
+ with :
18
+ persist-credentials : false
13
19
- uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
14
20
with :
15
21
go-version-file : go.mod
22
+ cache : false
16
23
- uses : goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
17
24
with :
18
25
version : latest
Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
pull_request : {}
7
+ permissions :
8
+ contents : read
7
9
jobs :
8
10
test :
9
11
runs-on : ubuntu-latest
10
12
steps :
11
13
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14
+ with :
15
+ persist-credentials : false
12
16
- uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
13
17
with :
14
18
go-version-file : go.mod
You can’t perform that action at this time.
0 commit comments