Skip to content

Commit

Permalink
Merge branch 'refactor(gitlab)/update-pr-list' of https://github.com/…
Browse files Browse the repository at this point in the history
…RahulGautamSingh/renovate into refactor(gitlab)/update-pr-list
  • Loading branch information
RahulGautamSingh committed Nov 24, 2024
2 parents a1c47e3 + f266184 commit cf1a679
Show file tree
Hide file tree
Showing 5 changed files with 215 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ jobs:
merge-multiple: true

- name: Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage/lcov
Expand Down
8 changes: 0 additions & 8 deletions lib/modules/platform/bitbucket/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1656,14 +1656,6 @@ describe('modules/platform/bitbucket/index', () => {

expect(bitbucket.massageMarkdown(prBody)).toMatchSnapshot();
});

it('converts source links', () => {
const prBody = '[source](https://bitbucket.org/foo/bar/tree/HEAD)';

expect(bitbucket.massageMarkdown(prBody)).toBe(
'[source](https://bitbucket.org/foo/bar/src/HEAD)',
);
});
});

describe('updatePr()', () => {
Expand Down
1 change: 0 additions & 1 deletion lib/modules/platform/bitbucket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ export function massageMarkdown(input: string): string {
.replace(regEx(/<\/?(details|blockquote)>/g), '')
.replace(regEx(`\n---\n\n.*?<!-- rebase-check -->.*?\n`), '')
.replace(regEx(/\]\(\.\.\/pull\//g), '](../../pull-requests/')
.replace(regEx(/\/tree\/HEAD/g), '/src/HEAD')
.replace(regEx(/<!--renovate-(?:debug|config-hash):.*?-->/g), '');
}

Expand Down
Loading

0 comments on commit cf1a679

Please sign in to comment.