From 611525a6c272668485d6fb9b4279a02b75863f10 Mon Sep 17 00:00:00 2001 From: Syed Sufyan Date: Fri, 22 May 2026 00:46:46 +0500 Subject: [PATCH] Update n8n workflow to use final_labels and clean up pinData --- automation/PR Classifier n8n workflow.json | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/automation/PR Classifier n8n workflow.json b/automation/PR Classifier n8n workflow.json index 5b95d83..985e71f 100644 --- a/automation/PR Classifier n8n workflow.json +++ b/automation/PR Classifier n8n workflow.json @@ -34,7 +34,7 @@ { "parameters": { "mode": "runOnceForEachItem", - "jsCode": "return {\n owner: $('Normalize').first().json.owner,\n repo: $('Normalize').first().json.repo,\n number: $('Normalize').first().json.number,\n\n github_labels: $json.github_labels,\n sentiment: $json.sentiment,\n priority_score: $json.priority_score\n};" + "jsCode": "return {\n owner: $('Normalize').first().json.owner,\n repo: $('Normalize').first().json.repo,\n number: $('Normalize').first().json.number,\n\n github_labels: $json.final_labels,\n sentiment: $json.sentiment,\n priority_score: $json.priority_score\n};" }, "type": "n8n-nodes-base.code", "typeVersion": 2, @@ -110,20 +110,7 @@ } } ], - "pinData": { - "Normalize": [ - { - "json": { - "title": "Upload n8n automation workflow files", - "body": "- Upload the JSON Workflow file for n8n automation.\n- Make sure that no sensitive data exists in the file.\n- Upload a screenshot of the workflow.\n- Add the documentation afterwards in the documentation/automation folder, which is necessary to understand and implement the workflow.", - "number": 2, - "repo": "Git-PR-Analyzer", - "owner": "syedsufyan-coder", - "type": "issue" - } - } - ] - }, + "pinData": {}, "connections": { "Webhook": { "main": [ @@ -175,7 +162,7 @@ "executionOrder": "v1", "binaryMode": "separate" }, - "versionId": "1886be5b-01b4-4b5c-91f3-54f8dc301155", + "versionId": "390999aa-d224-4e94-a752-5bfcbaf4b424", "meta": { "instanceId": "1a149f0b90f998f8b1765ebd03f3957a87ef5ba755980789d7ef683d013bf8eb" },