-
Notifications
You must be signed in to change notification settings - Fork 1
67 lines (67 loc) · 2.5 KB
/
TagBot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: TagBot
on:
issue_comment:
types:
- created
workflow_dispatch:
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
changelog: |
## {{ package }} {{ version }}
{% if previous_release %}
[Diff since {{ previous_release }}]({{ compare_url }})
{% endif %}
{% if custom %}
{{ custom }}
{% endif %}
### 📢 API Changes:
{% if issues %}
{% for issue in issues if 'API' in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endfor %}
{% endif %}
{% if pulls %}
{% for pull in pulls if 'API' in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endfor %}
{% endif %}
### 🚀 Features
{% if issues %}
{% for issue in issues if 'enhancement' in issue.labels or 'feature' in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endfor %}
{% endif %}
{% if pulls %}
{% for pull in pulls if 'enhancement' in pull.labels or 'feature' in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endfor %}
{% endif %}
### 📑 Documentation
{% if issues %}
{% for issue in issues if 'documentation' in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endfor %}
{% endif %}
{% if pulls %}
{% for pull in pulls if 'documentation' in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endfor %}
{% endif %}
### 🐛 Fixes
{% if issues %}
{% for issue in issues if 'bug' in issue.labels or 'bugfix' in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endfor %}
{% endif %}
{% if pulls %}
{% for pull in pulls if 'bug' in pull.labels or 'bugfix' in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endfor %}
{% endif %}