Apply suggestions from code review

Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
Henti Smith
2022-07-19 15:53:12 +01:00
committed by GitHub
parent 0828474192
commit dcc76ddf36

View File

@@ -28,7 +28,7 @@ module Actions {
/** Gets the `jobs` mapping from job IDs to job definitions in this workflow. */
YAMLMapping getJobs() { result = this.lookup("jobs") }
/** Gets the name of the workflow */
/** Gets the name of the workflow. */
string getName() { result = this.lookup("name").(YAMLString).getValue() }
/** Gets the name of the workflow file. */
@@ -133,7 +133,7 @@ module Actions {
/** Gets the value of the `if` field in this step, if any. */
StepIf getIf() { result.getStep() = this }
/** Gets the id of the step field, if any. */
/** Gets the ID of this step, if any. */
string getId() { result = this.lookup("id").(YAMLString).getValue() }
}