Skip to content

Instantly share code, notes, and snippets.

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..3494874
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,10 @@
+root = true
+
+[*]
+end_of_line = lf
[sources.from_pubsub]
type = "http"
address = "0.0.0.0:8080"
path = "/"
encoding = "json"
[transforms.parse_pubsub_payload]
type = "remap"
inputs = ["from_pubsub"]
source = '''
query GitLabIssue($projectPath: ID!) {
project(fullPath: $projectPath) {
name
issueCount: issueStatusCounts(types: ISSUE) {
all
closed
opened
}
issueToDoCount: issueStatusCounts(labelName: ["status::ToDo"]) {
all