@@ -17,6 +17,7 @@ def get_resource(self) -> dict[str, str]:
17
17
"infrahub.proposed_change.id" : self .proposed_change_id ,
18
18
"infrahub.proposed_change.name" : self .proposed_change_name ,
19
19
"infrahub.proposed_change.state" : self .proposed_change_state ,
20
+ "infrahub.branch.name" : self .meta .context .branch .name ,
20
21
}
21
22
22
23
@@ -31,7 +32,6 @@ def get_resource(self) -> dict[str, str]:
31
32
"infrahub.proposed_change.reviewer_account_id" : self .reviewer_account_id ,
32
33
"infrahub.proposed_change.reviewer_account_name" : self .reviewer_account_name ,
33
34
"infrahub.proposed_change.reviewer_decision" : self .reviewer_decision ,
34
- "infrahub.branch.name" : self .meta .context .branch .name ,
35
35
}
36
36
37
37
@@ -46,7 +46,6 @@ def get_resource(self) -> dict[str, str]:
46
46
"infrahub.proposed_change.reviewer_account_id" : self .reviewer_account_id ,
47
47
"infrahub.proposed_change.reviewer_account_name" : self .reviewer_account_name ,
48
48
"infrahub.proposed_change.reviewer_former_decision" : self .reviewer_former_decision ,
49
- "infrahub.branch.name" : self .meta .context .branch .name ,
50
49
}
51
50
52
51
@@ -63,7 +62,6 @@ def get_resource(self) -> dict[str, str]:
63
62
** super ().get_resource (),
64
63
"infrahub.proposed_change.merged_by_account_id" : self .merged_by_account_id ,
65
64
"infrahub.proposed_change.merged_by_account_name" : self .merged_by_account_name ,
66
- "infrahub.branch.name" : self .meta .context .branch .name ,
67
65
}
68
66
69
67
@@ -84,7 +82,6 @@ def get_resource(self) -> dict[str, str]:
84
82
** super ().get_resource (),
85
83
"infrahub.proposed_change.review_requested_by_account_id" : self .requested_by_account_id ,
86
84
"infrahub.proposed_change.review_requested_by_account_name" : self .requested_by_account_name ,
87
- "infrahub.branch.name" : self .meta .context .branch .name ,
88
85
}
89
86
90
87
0 commit comments