Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
bd3cf102
Unverified
Commit
bd3cf102
authored
1 year ago
by
Adam Setch
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
refactor(changelog/github): move source (#23103)
parent
0551a12f
Loading
Loading
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/workers/repository/update/pr/changelog/api.ts
+1
-1
1 addition, 1 deletion
lib/workers/repository/update/pr/changelog/api.ts
lib/workers/repository/update/pr/changelog/github/source.ts
+6
-6
6 additions, 6 deletions
lib/workers/repository/update/pr/changelog/github/source.ts
with
7 additions
and
7 deletions
lib/workers/repository/update/pr/changelog/api.ts
+
1
−
1
View file @
bd3cf102
import
{
BitbucketChangeLogSource
}
from
'
./bitbucket/source
'
;
import
{
GitHubChangeLogSource
}
from
'
./github/source
'
;
import
{
GitLabChangeLogSource
}
from
'
./gitlab/source
'
;
import
type
{
ChangeLogSource
}
from
'
./source
'
;
import
{
GitHubChangeLogSource
}
from
'
./source-github
'
;
const
api
=
new
Map
<
string
,
ChangeLogSource
>
();
export
default
api
;
...
...
This diff is collapsed.
Click to expand it.
lib/workers/repository/update/pr/changelog/
source-github
.ts
→
lib/workers/repository/update/pr/changelog/
github/source
.ts
+
6
−
6
View file @
bd3cf102
import
URL
from
'
node:url
'
;
import
{
GlobalConfig
}
from
'
../../../../../config/global
'
;
import
{
logger
}
from
'
../../../../../logger
'
;
import
*
as
hostRules
from
'
../../../../../util/host-rules
'
;
import
type
{
BranchUpgradeConfig
}
from
'
../../../../types
'
;
import
{
ChangeLogSource
}
from
'
./source
'
;
import
type
{
ChangeLogError
}
from
'
./types
'
;
import
{
GlobalConfig
}
from
'
../../../../../
../
config/global
'
;
import
{
logger
}
from
'
../../../../../
../
logger
'
;
import
*
as
hostRules
from
'
../../../../../
../
util/host-rules
'
;
import
type
{
BranchUpgradeConfig
}
from
'
../../../../
../
types
'
;
import
{
ChangeLogSource
}
from
'
.
.
/source
'
;
import
type
{
ChangeLogError
}
from
'
.
.
/types
'
;
export
class
GitHubChangeLogSource
extends
ChangeLogSource
{
constructor
()
{
super
(
'
github
'
,
'
github-tags
'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment