Skip to content

Commit 61d885a

Browse files
committed
Fix release workflows
1 parent a172fa9 commit 61d885a

File tree

6 files changed

+74
-4
lines changed

6 files changed

+74
-4
lines changed

.github/release-drafter.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name-template: 'v$RESOLVED_VERSION 🌈'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'feature'
7+
- 'enhancement'
8+
- title: '🐛 Bug Fixes'
9+
labels:
10+
- 'fix'
11+
- 'bugfix'
12+
- 'bug'
13+
- title: '🧰 Maintenance'
14+
labels:
15+
- 'chore'
16+
- 'dependencies'
17+
- 'marketing'
18+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
19+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
20+
version-resolver:
21+
major:
22+
labels:
23+
- 'major'
24+
minor:
25+
labels:
26+
- 'minor'
27+
patch:
28+
labels:
29+
- 'patch'
30+
default: patch
31+
exclude-labels:
32+
- 'skip-changelog'
33+
autolabeler:
34+
- label: 'documentation'
35+
files:
36+
- '*.md'
37+
branch:
38+
- '/docs{0,1}\/.+/'
39+
- label: 'bug'
40+
branch:
41+
- '/fix\/.+/'
42+
title:
43+
- '/fix/i'
44+
- label: 'enhancement'
45+
branch:
46+
- '/feature\/.+/'
47+
body:
48+
- '/JIRA-[0-9]{1,4}/'
49+
template: |
50+
## Changes
51+
$CHANGES

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
golangci:
1010
name: lint
11-
runs-on: self-hosted
11+
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: golangci-lint
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [ opened, reopened, synchronize ]
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-latest
13+
steps:
14+
# Drafts your next Release notes as Pull Requests are merged into "main"
15+
- uses: release-drafter/release-drafter@v5
16+
with:
17+
config-name: release-drafter.yml
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/size-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: pull_request
44

55
jobs:
66
size-label:
7-
runs-on: self-hosted
7+
runs-on: ubuntu-latest
88
steps:
99
- name: size-label
1010
uses: pascalgn/size-label-action@v0.4.3

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
stale:
9-
runs-on: self-hosted
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/stale@v4
1212
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
checks:
1515
name: run
16-
runs-on: self-hosted
16+
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v2
1919
- uses: actions/setup-go@v2

0 commit comments

Comments
 (0)