Skip to content

Commit c149531

Browse files
authored
Merge pull request #6458 from opsmill/pog-add-branch-to-group-events-IFC-1509
Add missing branch information to group events
2 parents 9dc7542 + b43382b commit c149531

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)