Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
HrithikKanugula committed Jan 16, 2025
1 parent 5f20429 commit 9604b10
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions event-sensor-workflows/sensor-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ spec:
- eventName: opsmxpush
eventSourceName: opsmxgitpush
name: opsmxpush-generic
#transform:
# script: |-
# event.body.sender.gravatar_id = "Push to branch" .. event.body.ref .. " in repo " .. event.body.repository.name .. "Hash: " .. event.body.after # Using an unused field in the json
# return event
transform:
script: |-
event.body.sender.gravatar_id = "Push to branch" .. event.body.ref ..
#" in repo " .. event.body.repository.name .. "Hash: " .. event.body.after # Using an unused field in the json
return event
filters:
data:
- path: body.ref
Expand Down

0 comments on commit 9604b10

Please sign in to comment.