Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/usage/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Renovate will get the credentials with the [`google-auth-library`](https://www.n
service_account: ${{ env.SERVICE_ACCOUNT }}

- name: renovate
uses: renovatebot/github-action@v41.0.18
uses: renovatebot/github-action@v41.0.19
env:
RENOVATE_HOST_RULES: |
[
Expand Down
23 changes: 20 additions & 3 deletions lib/modules/datasource/azure-pipelines-tasks/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,15 @@ describe('modules/datasource/azure-pipelines-tasks/index', () => {
datasource: AzurePipelinesTasksDatasource.id,
packageName: 'AzurePowerShell',
}),
).toEqual({ releases: [{ version: '5.248.3' }] });
).toEqual({
releases: [
{
changelogUrl:
'https://github.com/microsoft/azure-pipelines-tasks/releases',
version: '5.248.3',
},
],
});
});

it('identifies task based on task id', async () => {
Expand Down Expand Up @@ -191,8 +199,17 @@ describe('modules/datasource/azure-pipelines-tasks/index', () => {
}),
).toEqual({
releases: [
{ isDeprecated: true, version: '1.2.3' },
{ isDeprecated: undefined, version: '2.247.1' },
{
changelogUrl:
'https://github.com/microsoft/azure-pipelines-tasks/releases',
isDeprecated: true,
version: '1.2.3',
},
{
changelogUrl:
'https://github.com/microsoft/azure-pipelines-tasks/releases',
version: '2.247.1',
},
],
});
});
Expand Down
5 changes: 5 additions & 0 deletions lib/modules/datasource/azure-pipelines-tasks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const TASKS_URL_BASE =
'https://raw.githubusercontent.com/renovatebot/azure-devops-marketplace/main';
const BUILT_IN_TASKS_URL = `${TASKS_URL_BASE}/azure-pipelines-builtin-tasks.json`;
const MARKETPLACE_TASKS_URL = `${TASKS_URL_BASE}/azure-pipelines-marketplace-tasks.json`;
const BUILT_IN_TASKS_CHANGELOG_URL =
'https://github.com/microsoft/azure-pipelines-tasks/releases';

export class AzurePipelinesTasksDatasource extends Datasource {
static readonly id = 'azure-pipelines-tasks';
Expand Down Expand Up @@ -68,6 +70,9 @@ export class AzurePipelinesTasksDatasource extends Datasource {
result.releases.push({
version: `${task.version!.major}.${task.version!.minor}.${task.version!.patch}`,
isDeprecated: task.deprecated,
changelogUrl: task.serverOwned
? BUILT_IN_TASKS_CHANGELOG_URL
: undefined,
});
});

Expand Down
1 change: 1 addition & 0 deletions lib/modules/datasource/azure-pipelines-tasks/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const AzurePipelinesTask = z.object({
id: z.string(),
name: z.string(),
deprecated: z.boolean().optional(),
serverOwned: z.boolean().optional(),
version: AzurePipelinesTaskVersion.nullable(),
contributionIdentifier: z.string().optional(),
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
"tmp-promise": "3.0.3",
"tsx": "4.19.3",
"type-fest": "4.39.1",
"typescript": "5.8.2",
"typescript": "5.8.3",
"typescript-eslint": "8.28.0",
"unified": "9.2.2",
"vite": "6.2.6",
Expand Down
Loading
Loading