From ae19cee555d7e748a02dec0d931f42097fc3c49b Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Fri, 12 Jul 2024 12:35:47 -0700 Subject: [PATCH] Automatically close milestones (#318) --- .github/workflows/ci.yml | 3 ++- .goreleaser.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1094415f..3f5224d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [stable] + go-version: ["1.21", stable] steps: - name: Checkout Repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -99,6 +99,7 @@ jobs: uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: go-version: stable + if: ${{ github.ref_type == 'tag' }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 79aefaa1..5753ffc4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -10,3 +10,6 @@ announce: enabled: true channel: "#announcements" message_template: "NGINX Plus Go Client {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}" + +milestones: + - close: true