Skip to content

Commit 2f25fd8

Browse files
committed
Add back branch name to node mutation event resource
1 parent 961bb69 commit 2f25fd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/infrahub/events/node_action.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def get_resource(self) -> dict[str, str]:
7777
"infrahub.node.id": self.node_id,
7878
"infrahub.node.action": self.action.value,
7979
"infrahub.node.root_id": self.data.root_node_id,
80+
"infrahub.branch.name": self.meta.context.branch.name,
8081
}
8182

8283
def get_payload(self) -> dict[str, Any]:

0 commit comments

Comments
 (0)