mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
parent
de2c9a06bf
commit
573e16fa3b
4
.github/workflows/actions/changelog/index.js
vendored
4
.github/workflows/actions/changelog/index.js
vendored
@ -199,7 +199,7 @@ const getChangeLogItems = async (name, owner, sinceDate, to) => {
|
|||||||
hasLabel({ labels }, 'area/grafana/ui') ||
|
hasLabel({ labels }, 'area/grafana/ui') ||
|
||||||
hasLabel({ labels }, 'area/grafana/toolkit') ||
|
hasLabel({ labels }, 'area/grafana/toolkit') ||
|
||||||
hasLabel({ labels }, 'area/grafana/runtime');
|
hasLabel({ labels }, 'area/grafana/runtime');
|
||||||
const author = item.commits.nodes[0].commit.author.user.login;
|
const author = item.commits.nodes[0].commit.author.user?.login;
|
||||||
return {
|
return {
|
||||||
repo: name,
|
repo: name,
|
||||||
number,
|
number,
|
||||||
@ -285,7 +285,7 @@ ${items
|
|||||||
`- ${item.title.replace(/^([^:]*:)/gm, '**$1**')} ${
|
`- ${item.title.replace(/^([^:]*:)/gm, '**$1**')} ${
|
||||||
item.repo === 'grafana-enterprise'
|
item.repo === 'grafana-enterprise'
|
||||||
? '(Enterprise)'
|
? '(Enterprise)'
|
||||||
: `${pullRequestLink(item.number)}, ${userLink(item.author)}`
|
: `${pullRequestLink(item.number)}${item.author ? ', ' + userLink(item.author) : ''}`
|
||||||
}`
|
}`
|
||||||
)
|
)
|
||||||
.join('\n')}
|
.join('\n')}
|
||||||
|
Loading…
Reference in New Issue
Block a user