blob: 1f8f12dd1b900a2b23e22f64ab94e6ad42e7c74f (
plain) (
tree)
|
|
#!/bin/sh
set -xe
hut lists webhook create "https://lists.sr.ht/~rjarry/aerc-devel" \
--stdin -e patchset_received \
-u https://bot.diabeteman.com/sourcehut/ <<EOF
query {
webhook {
uuid
event
date
... on PatchsetEvent {
patchset {
id
subject
version
prefix
list {
name
owner {
... on User {
canonicalName
}
}
}
submitter {
... on User {
canonicalName
}
... on Mailbox {
name
address
}
}
}
}
}
}
EOF
|