Skip to content

Commit fb5c6e4

Browse files
authored
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
1 parent f29f508 commit fb5c6e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

languageservice/src/hover.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ jobs:
195195
const result = await hover(...getPositionFromCursor(input), testHoverConfig("uses", "step-uses", undefined));
196196
expect(result).not.toBeUndefined();
197197
expect(result?.contents).toEqual(
198-
"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."
198+
"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."
199199
);
200200
});
201201
});

workflow-parser/src/workflow-v1.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@
21722172
}
21732173
},
21742174
"step-uses": {
2175-
"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.",
2175+
"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.",
21762176
"string": {
21772177
"require-non-empty": true
21782178
}

0 commit comments

Comments
 (0)