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: docs/context-variables.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,6 +281,7 @@ The `pr` context includes metadata related to the pull request.
281
281
|`pr.author_teams`| String | The teams which the PR author is member of |
282
282
|`pr.checks`|[[`Check`]](#check-structure)| List of checks, names and status |
283
283
|`pr.comments`|[[`Comment`]](#comment-structure)| List of PR comments objects |
284
+
|`pr.commit_statuses` :fontawesome-brands-github: |[[`CommitStatus`]](#commitstatus-structure)| List of commit status check objects from external CI systems. |
284
285
|`pr.conflicted_files_count`| Integer | The number files in the PR with conflicts |
285
286
|`pr.conversations`|[[`Conversation`]](#conversation-structure)| List of PR conversation objects, usually when reviewer have comments about the source code |
286
287
|`pr.created_at`| String | The date and time the PR was created |
@@ -368,6 +369,29 @@ The source context include all code changes, it is not safe to share it with unk
Represents the status of external CI systems like Docker builds or test results. Note gitStream doesn't respond to commit status events, only collects them when other events trigger.
375
+
376
+
```json
377
+
{
378
+
"state": String, # The status of the check: `pending`, `success`, `failure`, `error`
379
+
"context": String, # The identifier for the CI system or check (e.g., "continuous-integration/jenkins")
380
+
"description": String # Human-readable description of the status (e.g., "The build succeeded!")
0 commit comments