Skip to content

Commit b43382b

Browse files
committed
Add missing branch information to group events
Fixes #6435
1 parent 21d3c54 commit b43382b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backend/infrahub/events/group_action.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def get_resource(self) -> dict[str, str]:
8989
"infrahub.node.id": self.node_id,
9090
"infrahub.node.action": self.action.value,
9191
"infrahub.node.root_id": self.node_id,
92+
"infrahub.branch.name": self.meta.context.branch.name,
9293
}
9394

9495

changelog/6435.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added missing branch info to group events

0 commit comments

Comments
 (0)