Skip to content

Commit

Permalink
fix(gitea): disable issues on external tracker (#26228)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Dec 11, 2023
1 parent 2438616 commit f88353c
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
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
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 f88353c

Please sign in to comment.