From 76ceff7ddbed08cd9ec6e7e7a3a87f10b6016c1c Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Fri, 26 Jul 2024 07:14:12 +0000 Subject: [PATCH] - make gitea labels lowercase so categories are matched case insensitive - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1345 --- src/repositories/GiteaRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repositories/GiteaRepository.ts b/src/repositories/GiteaRepository.ts index efcb2abb..8013df5a 100644 --- a/src/repositories/GiteaRepository.ts +++ b/src/repositories/GiteaRepository.ts @@ -74,7 +74,7 @@ export class GiteaRepository extends BaseRepository { mergeCommitSha: pr.merge_commit_sha || '', author: pr.user?.login || '', repoName: pr.base?.repo?.full_name || '', - labels: pr.labels?.map(label => label.name) as string[], + labels: pr.labels?.map(label => label.name?.toLowerCase()) as string[], milestone: pr.milestone?.title || '', body: pr.body || '', assignees: pr.assignees?.map(user => user.full_name) as string[],