Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Sep 26, 2024
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
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 },
viceice marked this conversation as resolved.
Show resolved Hide resolved
{ 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