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
@@ -360,7 +347,7 @@ The `skip_if` field must be a valid [Expr-lang](https://expr-lang.org/) expressi
360
347
### Attributes
361
348
362
349
> [!NOTE]
363
-
> Missing an attribute? The `schema/gitlab/schema.graphqls` file are what is used to query GitLab, adding the missing `field` to the right `type` should make it accessible.
350
+
> Missing an attribute? The `schema/gitlab.schema.graphqls` file are what is used to query GitLab, adding the missing `field` to the right `type` should make it accessible.
364
351
> Please open an issue or Pull Request if something is missing.
365
352
366
353
> [!IMPORTANT]
@@ -370,104 +357,108 @@ The following attributes are available in `script` fields.
370
357
371
358
They can be accessed exactly as shown in this list.
372
359
373
-
#### project
374
-
375
-
> [!NOTE]
376
-
> See the [GitLab GraphQL `Project` GraphQL resource](https://docs.gitlab.com/ee/api/graphql/reference/#project) for more details about the fields.
377
-
378
-
- `project.archived`(boolean)
379
-
- `project.created_at`(time)
380
-
- `project.description`(string)
381
-
- `project.full_path`(string)
382
-
- `project.id`(string)
383
-
- `project.last_activity_at`(time)
384
-
- `project.name_with_namespace`(string)
385
-
- `project.name`(string)
386
-
- `project.path`(string)
387
-
- `project.topics[]`(array of string)
388
-
- `project.visibility`(string)
389
-
390
-
#### project.labels
391
-
392
-
> [!NOTE]
393
-
> See the [GitLab GraphQL `Label` GraphQL resource](https://docs.gitlab.com/ee/api/graphql/reference/#label) for more details about the fields.
394
-
395
-
- `project.labels[].color`(string)
396
-
- `project.labels[].description`(string)
397
-
- `project.labels[].id`(string)
398
-
- `project.labels[].title`(string)
399
-
400
-
#### group
401
-
402
-
> See the [GitLab GraphQL `Group` GraphQL resource](https://docs.gitlab.com/ee/api/graphql/reference/#group) for more details about the fields.
403
-
404
-
- `group.description`(string)
405
-
- `group.id`(string)
406
-
- `group.name`(string)
407
-
408
-
#### merge_request
409
-
410
-
> See the [GitLab GraphQL `MergeRequest` GraphQL resource](https://docs.gitlab.com/ee/api/graphql/reference/#mergerequest) for more details about the fields.
- `merge_request.time_between_first_and_last_commit`(duration) - SCM Engine - The `duration()` between the first and last commit in the Merge Request.
436
-
- `merge_request.time_since_first_commit`(duration) - SCM Engine - The `duration()` between `now()` and the first commit in the Merge Request.
437
-
- `merge_request.time_since_last_commit`(duration) - SCM Engine - The `duration()` between `now()` and the last commit in the Merge Request.
438
-
- `merge_request.title`(string)
439
-
- `merge_request.updated_at`(time)
440
-
441
-
#### merge_request.diff_stats
442
-
443
-
> See the [GitLab GraphQL `DiffStats` GraphQL resource](https://docs.gitlab.com/ee/api/graphql/reference/#diffstats) for more details about the fields.
444
-
445
-
- `merge_request.diff_stats[].additions`(int)
446
-
- `merge_request.diff_stats[].deletions`(int)
447
-
- `merge_request.diff_stats[].path`(string)
448
-
449
-
#### merge_request.first_commit
450
-
451
-
> See the [GitLab GraphQL `Commit` GraphQL resource](https://docs.gitlab.com/ee/api/graphql/reference/#commit) for more details about the fields.
- `merge_request.last_commit.author_name`(optional string) Commit authors name
410
+
- `merge_request.last_commit.authored_date`(optional time) Timestamp of when the commit was authored
411
+
- `merge_request.last_commit.committed_date`(optional time) Timestamp of when the commit was committed
412
+
- `merge_request.last_commit.committer_email`(optional string) Email of the committer
413
+
- `merge_request.last_commit.committer_name`(optional string) Name of the committer
414
+
- `merge_request.last_commit.description`(optional string) Description of the commit message
415
+
- `merge_request.last_commit.full_title`(optional string) Full title of the commit message
416
+
- `merge_request.last_commit.id`(optional string) ID (global ID) of the commit
417
+
- `merge_request.last_commit.message`(optional string) Raw commit message
418
+
- `merge_request.last_commit.sha`(string) SHA1 ID of the commit
419
+
- `merge_request.last_commit.short_id`(string) Short SHA1 ID of the commit
420
+
- `merge_request.last_commit.title`(optional string) Title of the commit message
421
+
- `merge_request.last_commit.web_url`(string) Web URL of the commit
422
+
- `merge_request.merge_status_enum`(string) Merge status of the merge request
423
+
- `merge_request.merge_when_pipeline_succeeds`(optional bool) Indicates if the merge has been set to auto-merge
424
+
- `merge_request.mergeable`(bool) Indicates if the merge request is mergeable
425
+
- `merge_request.mergeable_discussions_state`(optional bool) Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged
426
+
- `merge_request.merged_at`(optional time) Timestamp of when the merge request was merged, null if not merged
427
+
- `merge_request.prepared_at`(optional time) Timestamp of when the merge request was prepared
428
+
- `merge_request.should_be_rebased`(bool) Indicates if the merge request will be rebased
429
+
- `merge_request.should_remove_source_branch`(optional bool) Indicates if the source branch of the merge request will be deleted after merge
430
+
- `merge_request.source_branch`(string) Source branch of the merge request
431
+
- `merge_request.source_branch_exists`(bool) Indicates if the source branch of the merge request exists
432
+
- `merge_request.source_branch_protected`(bool) Indicates if the source branch is protected
433
+
- `merge_request.squash`(bool) Indicates if the merge request is set to be squashed when merged. Project settings may override this value. Use squash_on_merge instead to take project squash options into account
434
+
- `merge_request.squash_on_merge`(bool) Indicates if the merge request will be squashed when merged
435
+
- `merge_request.state`(string) State of the merge request
436
+
- `merge_request.target_branch`(string) Target branch of the merge request
437
+
- `merge_request.target_branch_exists`(bool) Indicates if the target branch of the merge request exists
0 commit comments