Skip to content

Commit af83d8a

Browse files
committed
Add comment
1 parent 9c7eecf commit af83d8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,9 +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. */
237+
/** Gets the `job` this step belongs to. The step may belong to a `job` in a workflow or `runs` in a custom action. */
238238
Job getJob() { result = parent.(Job) }
239239

240+
/** Gets the `runs` this step belongs to. The step may belong to a `job` in a workflow or `runs` in a custom action. */
240241
Runs getRuns() { result = parent.(Runs) }
241242

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

0 commit comments

Comments
 (0)