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:
@@ -1,15 +1,13 @@
|
||||
{{#if authors}}
|
||||
|
||||
### Contributors to this release
|
||||
|
||||
{{#each authors}}
|
||||
{{#unless isBot}}
|
||||
{{#if login}}
|
||||
- {{#if avatar_url}}{{/if}} [{{displayName}}]({{html_url}})
|
||||
- {{#if avatar_url}}{{/if}} [{{displayName}}]({{html_url}} "+{{insertions}}/-{{deletions}} ({{#each prs}}#{{this}} {{/each}})")
|
||||
{{else}}
|
||||
- {{displayName}}
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
{{/each}}
|
||||
|
||||
{{/if}}
|
||||
|
||||
@@ -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}}
|
||||
Reference in New Issue
Block a user