File tree Expand file tree Collapse file tree 3 files changed +28
-17
lines changed Expand file tree Collapse file tree 3 files changed +28
-17
lines changed Original file line number Diff line number Diff line change @@ -15,27 +15,29 @@ permissions:
15
15
16
16
jobs :
17
17
goreleaser :
18
+ environment : production
18
19
runs-on : ubuntu-latest
19
20
steps :
20
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21
+ - uses : actions/checkout@v4
21
22
with :
22
23
# Allow goreleaser to access older tag information.
23
24
fetch-depth : 0
24
- - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
25
+ - uses : actions/setup-go@v5
25
26
with :
26
27
go-version-file : ' go.mod'
27
28
cache : true
28
- - name : Import GPG key
29
- uses : crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
30
- id : import_gpg
29
+ - id : import_gpg
30
+ uses : crazy-max/ghaction-import-gpg@v6
31
31
with :
32
32
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
33
33
passphrase : ${{ secrets.PASSPHRASE }}
34
- - name : Run GoReleaser
35
- uses : goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
34
+ - uses : goreleaser/goreleaser-action@v5
36
35
with :
37
36
args : release --clean
38
37
env :
39
38
# GitHub sets the GITHUB_TOKEN secret automatically.
40
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
40
GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
41
+ - run : gh release edit ${{ github.ref_name }} --draft=false
42
+ env :
43
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -24,23 +24,23 @@ jobs:
24
24
runs-on : ubuntu-latest
25
25
timeout-minutes : 5
26
26
steps :
27
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
28
- - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
27
+ - uses : actions/checkout@v4
28
+ - uses : actions/setup-go@v5
29
29
with :
30
30
go-version-file : ' go.mod'
31
31
cache : true
32
32
- run : go mod download
33
33
- run : go build -v .
34
34
- name : Run linters
35
- uses : golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
35
+ uses : golangci/golangci-lint-action@v3
36
36
with :
37
37
version : latest
38
38
39
39
generate :
40
40
runs-on : ubuntu-latest
41
41
steps :
42
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
43
- - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
42
+ - uses : actions/checkout@v4
43
+ - uses : actions/setup-go@v5
44
44
with :
45
45
go-version-file : ' go.mod'
46
46
cache : true
@@ -67,12 +67,12 @@ jobs:
67
67
- ' 1.3.*'
68
68
- ' 1.4.*'
69
69
steps :
70
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
71
- - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
70
+ - uses : actions/checkout@v4
71
+ - uses : actions/setup-go@v5
72
72
with :
73
73
go-version-file : ' go.mod'
74
74
cache : true
75
- - uses : hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
75
+ - uses : hashicorp/setup-terraform@v2
76
76
with :
77
77
terraform_version : ${{ matrix.terraform }}
78
78
terraform_wrapper : false
Original file line number Diff line number Diff line change @@ -55,6 +55,15 @@ release:
55
55
- glob : ' terraform-registry-manifest.json'
56
56
name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
57
57
# If you want to manually examine the release before its live, uncomment this line:
58
- # draft: true
58
+ draft : true
59
59
changelog :
60
- skip : true
60
+ use : github
61
+ groups :
62
+ - title : Features
63
+ regexp : ' ^.*?feat(\([[:word:]]+\))??!?:.+$'
64
+ order : 0
65
+ - title : " Bug fixes"
66
+ regexp : ' ^.*?fix(\([[:word:]]+\))??!?:.+$'
67
+ order : 1
68
+ - title : Others
69
+ order : 999
You can’t perform that action at this time.
0 commit comments