Skip to content

Commit

Permalink
- make gitea labels lowercase so categories are matched case insensitive
Browse files Browse the repository at this point in the history
  - FIX #1345
  • Loading branch information
mikepenz authored Jul 26, 2024
1 parent bbbdb7a commit 76ceff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repositories/GiteaRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[],
Expand Down

0 comments on commit 76ceff7

Please sign in to comment.