Skip to content

Commit 6790318

Browse files
committed
Added the composite word
1 parent 8f1bccb commit 6790318

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

javascript/ql/lib/semmle/javascript/Actions.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import javascript
1010
* See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions.
1111
*/
1212
module Actions {
13-
/** A YAML node in a GitHub Actions workflow or a custom action file. */
13+
/** A YAML node in a GitHub Actions workflow or a custom composite action file. */
1414
private class Node extends YamlNode {
1515
Node() {
1616
exists(File f |
@@ -25,7 +25,7 @@ module Actions {
2525
}
2626

2727
/**
28-
* A custom action. This is a mapping at the top level of an Actions YAML action file.
28+
* A custom composite action. This is a mapping at the top level of an Actions YAML action file.
2929
* See https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions.
3030
*/
3131
class Action extends Node, YamlDocument, YamlMapping {
@@ -34,7 +34,7 @@ module Actions {
3434
}
3535

3636
/**
37-
* An `runs` mapping in a custom action YAML.
37+
* An `runs` mapping in a custom composite action YAML.
3838
* See https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs
3939
*/
4040
class Runs extends StepsContainer {
@@ -55,7 +55,7 @@ module Actions {
5555
}
5656

5757
/**
58-
* A `using` mapping in a custom action YAML.
58+
* A `using` mapping in a custom composite action YAML.
5959
*/
6060
class Using extends YamlNode, YamlScalar {
6161
Runs runs;
@@ -234,10 +234,10 @@ module Actions {
234234
/** Gets the 0-based position of this step within the sequence of `steps`. */
235235
int getIndex() { result = index }
236236

237-
/** Gets the `job` this step belongs to, if the step belongs to a `job` in a workflow. Has no result if the step belongs to `runs` in a custom action. */
237+
/** Gets the `job` this step belongs to, if the step belongs to a `job` in a workflow. Has no result if the step belongs to `runs` in a custom composite action. */
238238
Job getJob() { result = parent }
239239

240-
/** Gets the `runs` this step belongs to, if the step belongs to a `runs` in a custom action. Has no result if the step belongs to a `job` in a workflow. */
240+
/** Gets the `runs` this step belongs to, if the step belongs to a `runs` in a custom composite action. Has no result if the step belongs to a `job` in a workflow. */
241241
Runs getRuns() { result = parent }
242242

243243
/** Gets the value of the `uses` field in this step, if any. */

0 commit comments

Comments
 (0)