2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

chore(ci): improved contributors & PRs sections generator; (#5453)

This commit is contained in:
Dmitriy Mozgovoy
2023-01-09 15:24:02 +02:00
committed by GitHub
parent 18772ed8fd
commit e2a1e280f6
7 changed files with 279 additions and 139 deletions
+1 -3
View File
@@ -1,15 +1,13 @@
{{#if authors}}
### Contributors to this release
{{#each authors}}
{{#unless isBot}}
{{#if login}}
- {{#if avatar_url}}![avatar]({{avatar_url_sm}}){{/if}} [{{displayName}}]({{html_url}})
- {{#if avatar_url}}![avatar]({{avatar_url_sm}}){{/if}} [{{displayName}}]({{html_url}} "+{{insertions}}/-{{deletions}} ({{#each prs}}#{{this}} {{/each}})")
{{else}}
- {{displayName}}
{{/if}}
{{/unless}}
{{/each}}
{{/if}}
+13
View File
@@ -0,0 +1,13 @@
{{#if prs}}
### PRs
{{#each prs}}
- {{title}} ( [#{{number}}]({{pull_request.url}}) ){{#if isHot}} 🔥{{/if}}{{#if isHot}} 🚀{{/if}}
{{#if messages}}
{{#each messages}}
```
{{this}}
```
{{/each}}
{{/if}}
{{/each}}
{{/if}}