Skip to content

Commit ae19cee

Browse files
authored
Automatically close milestones (#318)
1 parent 56570a6 commit ae19cee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
go-version: [stable]
35+
go-version: ["1.21", stable]
3636
steps:
3737
- name: Checkout Repository
3838
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
@@ -99,6 +99,7 @@ jobs:
9999
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
100100
with:
101101
go-version: stable
102+
if: ${{ github.ref_type == 'tag' }}
102103

103104
- name: Run GoReleaser
104105
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0

Diff for: .goreleaser.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ announce:
1010
enabled: true
1111
channel: "#announcements"
1212
message_template: "NGINX Plus Go Client {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"
13+
14+
milestones:
15+
- close: true

0 commit comments

Comments
 (0)