8000 Automatically close milestones (#188) · nginx/telemetry-exporter@81d50bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 81d50bb

Browse files
authored
Automatically close milestones (#188)
1 parent 225a680 commit 81d50bb

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
runs-on: ubuntu-22.04
9292
permissions:
9393
contents: write
94+
issues: write
9495
if: github.event_name != 'pull_request'
9596
steps:
9697
- name: Checkout Repository
@@ -104,3 +105,18 @@ jobs:
104105
major-label: "change"
105106
publish: ${{ github.ref_type == 'tag' }}
106107
collapse-after: 30
108+
109+
- name: Setup Golang Environment
110+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
111+
with:
112+
go-version: stable
113+
if: ${{ github.ref_type == 'tag' }}
114+
115+
- name: Run GoReleaser
116+
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
117+
with:
118+
version: latest
119+
args: release --clean
120+
env:
121+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122+
if: ${{ github.ref_type == 'tag' }}

.goreleaser.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
builds:
3+
- skip: true
4+
5+
changelog:
6+
disable: true
7+
8+
milestones:
9+
- close: true

0 commit comments

Comments
 (0)
0