Skip to content

Commit

Permalink
feat(datasource/github-runners): add macOS 15 beta images (#31629)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonkingGoose authored Sep 26, 2024
1 parent 5ce54a3 commit 927e605
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/modules/datasource/github-runners/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
Expand Down
8 changes: 7 additions & 1 deletion lib/modules/datasource/github-runners/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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' },
Expand Down

0 comments on commit 927e605

Please sign in to comment.