You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/ql/lib/semmle/javascript/Actions.qll
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import javascript
10
10
* See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions.
11
11
*/
12
12
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. */
14
14
privateclassNodeextendsYamlNode{
15
15
Node(){
16
16
exists(Filef|
@@ -25,7 +25,7 @@ module Actions {
25
25
}
26
26
27
27
/**
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.
29
29
* See https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions.
30
30
*/
31
31
classActionextendsNode,YamlDocument,YamlMapping{
@@ -34,7 +34,7 @@ module Actions {
34
34
}
35
35
36
36
/**
37
-
* An `runs` mapping in a custom action YAML.
37
+
* An `runs` mapping in a custom composite action YAML.
38
38
* See https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs
39
39
*/
40
40
classRunsextendsStepsContainer{
@@ -55,7 +55,7 @@ module Actions {
55
55
}
56
56
57
57
/**
58
-
* A `using` mapping in a custom action YAML.
58
+
* A `using` mapping in a custom composite action YAML.
59
59
*/
60
60
classUsingextendsYamlNode,YamlScalar{
61
61
Runsruns;
@@ -234,10 +234,10 @@ module Actions {
234
234
/** Gets the 0-based position of this step within the sequence of `steps`. */
235
235
intgetIndex(){result=index}
236
236
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. */
238
238
JobgetJob(){result=parent}
239
239
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. */
241
241
RunsgetRuns(){result=parent}
242
242
243
243
/** Gets the value of the `uses` field in this step, if any. */
0 commit comments