feat(datasource/github-runners): add macOS 15 beta images (#31629)

This commit is contained in:
HonkingGoose 2024-09-26 06:54:34 +02:00 committed by GitHub
parent 5ce54a33d8
commit 927e6056a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -39,6 +39,9 @@ describe('modules/datasource/github-runners/index', () => {
{ version: '14-xlarge' },
{ version: '14-large' },
{ version: '14' },
{ version: '15-xlarge', isStable: false },
{ version: '15-large', isStable: false },
{ version: '15', isStable: false },
],
sourceUrl: 'https://github.com/actions/runner-images',
});

View file

@ -10,7 +10,10 @@ export class GithubRunnersDatasource extends Datasource {
'We use the URL: https://github.com/actions/runner-images.';
/**
* Only add stable runners to the datasource. See datasource readme for details.
* Unstable runners must have the `isStable: false` property.
* Deprecated runners must have the `isDeprecated: true` property.
* Stable runners should have no extra properties.
* For more details, read the github-runners datasource readme.
*/
private static readonly releases: Record<string, Release[] | undefined> = {
ubuntu: [
@ -21,6 +24,9 @@ export class GithubRunnersDatasource extends Datasource {
{ version: '16.04', isDeprecated: true },
],
macos: [
{ version: '15', isStable: false },
{ version: '15-large', isStable: false },
{ version: '15-xlarge', isStable: false },
{ version: '14' },
{ version: '14-large' },
{ version: '14-xlarge' },