Skip to content

Commit

Permalink
Merge pull request #1346 from mikepenz/fix/1345
Browse files Browse the repository at this point in the history
Fix to match categories case insensitive for gitea
  • Loading branch information
mikepenz authored Jul 26, 2024
2 parents bbbdb7a + 3ff44d5 commit 4d5a516
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

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 4d5a516

Please sign in to comment.