diff --git a/options/locale_next/locale_en-US.json b/options/locale_next/locale_en-US.json index 94296511be..89e0ce33f5 100644 --- a/options/locale_next/locale_en-US.json +++ b/options/locale_next/locale_en-US.json @@ -447,6 +447,7 @@ "actions.runners.token": "Token", "actions.runners.ephemeral": "Ephemeral", "actions.runners.labels": "Labels", + "actions.runners.version": "Version", "actions.runners.last_online": "Last online time", "actions.runners.list_runners.details_column": "Details", "actions.runners.list_runners.edit_column": "Edit", diff --git a/templates/shared/actions/runner_details.tmpl b/templates/shared/actions/runner_details.tmpl index 7e4cad3b35..f50e96482a 100644 --- a/templates/shared/actions/runner_details.tmpl +++ b/templates/shared/actions/runner_details.tmpl @@ -78,6 +78,16 @@ {{end}} +
+
{{ctx.Locale.Tr "actions.runners.version"}}
+
+ {{if .Runner.Version}} + {{.Runner.Version}} + {{else}} + — + {{end}} +
+
{{ctx.Locale.Tr "actions.runners.description"}}
diff --git a/tests/e2e/runner-management.test.e2e.ts b/tests/e2e/runner-management.test.e2e.ts index cecde7a850..41808f72d1 100644 --- a/tests/e2e/runner-management.test.e2e.ts +++ b/tests/e2e/runner-management.test.e2e.ts @@ -80,6 +80,8 @@ test.describe('Runners of user2', () => { - definition: Offline - term: Ephemeral - definition: "no" + - term: Version + - definition: 12.2.0 - term: Description - definition: A runner for everyone `); @@ -200,6 +202,8 @@ test.describe('Runners of user2', () => { - definition: Offline - term: Ephemeral - definition: "no" + - term: Version + - definition: — - term: Description - definition: Description of runner-46636 `); @@ -370,6 +374,8 @@ test.describe('Global runners', () => { - definition: Offline - term: Ephemeral - definition: "no" + - term: Version + - definition: 12.2.0 - term: Description - definition: A runner for everyone `); @@ -491,6 +497,8 @@ test.describe('Global runners', () => { - definition: Offline - term: Ephemeral - definition: "no" + - term: Version + - definition: — - term: Description - definition: Description of runner-956858 `); @@ -594,6 +602,8 @@ test.describe('Organization runners', () => { - definition: Offline - term: Ephemeral - definition: "no" + - term: Version + - definition: 12.2.0 - term: Description - definition: A runner for everyone `); @@ -722,6 +732,8 @@ test.describe('Repository runners', () => { - definition: Offline - term: Ephemeral - definition: "no" + - term: Version + - definition: 12.2.0 - term: Description - definition: A runner for everyone `);