From fb5c6e4f27bb1ddf512609a6a341aadd17ce86f3 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Fri, 30 Jan 2026 09:23:48 -0600 Subject: [PATCH] Add private repository access to step-uses description (#322) Update the step-uses description to mention that actions can also be used from private repositories when access is enabled via repository settings. Fixes #319 --- languageservice/src/hover.test.ts | 2 +- workflow-parser/src/workflow-v1.0.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/languageservice/src/hover.test.ts b/languageservice/src/hover.test.ts index b0217e7..03c2482 100644 --- a/languageservice/src/hover.test.ts +++ b/languageservice/src/hover.test.ts @@ -195,7 +195,7 @@ jobs: const result = await hover(...getPositionFromCursor(input), testHoverConfig("uses", "step-uses", undefined)); expect(result).not.toBeUndefined(); expect(result?.contents).toEqual( - "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image." + "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, a [private repository with access enabled](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository), or in a published Docker container image." ); }); }); diff --git a/workflow-parser/src/workflow-v1.0.json b/workflow-parser/src/workflow-v1.0.json index cbb1f1e..07a6d6d 100644 --- a/workflow-parser/src/workflow-v1.0.json +++ b/workflow-parser/src/workflow-v1.0.json @@ -2172,7 +2172,7 @@ } }, "step-uses": { - "description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.", + "description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, a [private repository with access enabled](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository), or in a published Docker container image.", "string": { "require-non-empty": true }