Skip to content

Commit

Permalink
fix(gitea): disable issues on external tracker (renovatebot#26228)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored and hersentino committed Jan 9, 2024
1 parent 8435fb4 commit 27b60f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/platform/gitea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const platform: Platform = {
config.prList = null;
config.issueList = null;
config.labelList = null;
config.hasIssuesEnabled = repo.has_issues;
config.hasIssuesEnabled = !repo.external_tracker && repo.has_issues;

return {
defaultBranch: config.defaultBranch,
Expand Down
1 change: 1 addition & 0 deletions lib/modules/platform/gitea/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export interface Repo {
allow_squash_merge: boolean;
archived: boolean;
clone_url?: string;
external_tracker?: unknown;
has_issues: boolean;
ssh_url?: string;
default_branch: string;
Expand Down

0 comments on commit 27b60f4

Please sign in to comment.