-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkflow-steps-basic.json
More file actions
62 lines (62 loc) · 2.01 KB
/
Copy pathworkflow-steps-basic.json
File metadata and controls
62 lines (62 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"project": "my-project",
"version": "1.0.0",
"gates": [
{
"gate_id": "pre_code",
"description": "Session setup — must complete before any Write/Edit",
"blocking": true,
"steps": [
{
"step_id": "configs_read",
"description": "Read project configuration files",
"mandatory": true
},
{
"step_id": "git_status_checked",
"description": "Check git status and recent history",
"mandatory": true
},
{
"step_id": "work_item_selected",
"description": "Select a work item / issue to work on",
"mandatory": true
}
]
},
{
"gate_id": "pre_commit",
"description": "Validation — must complete before any git commit",
"blocking": true,
"steps": [
{
"step_id": "tests_passed",
"description": "Test suite passes",
"mandatory": true
},
{
"step_id": "issue_id_in_message",
"description": "Commit message references an issue/ticket",
"mandatory": true
}
]
},
{
"gate_id": "post_commit",
"description": "Closeout — advisory reminders after commit",
"blocking": false,
"steps": [
{
"step_id": "issue_updated",
"description": "Work item / issue state updated",
"mandatory": false
},
{
"step_id": "pushed_to_remote",
"description": "Code pushed to remote",
"mandatory": false
}
]
}
]
}