From 9a548a791395046650caf78e27ecfe2f8d9a1237 Mon Sep 17 00:00:00 2001 From: Joshua Davis Date: Thu, 1 Feb 2024 12:37:28 -0500 Subject: [PATCH 1/2] checking for node id property variances --- gitsync.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitsync.js b/gitsync.js index bfd88dbf..a5270468 100644 --- a/gitsync.js +++ b/gitsync.js @@ -25,7 +25,8 @@ module.exports = class GitSync { log.debug(config); // Temporary fix until support of PRs - if (config.issue.node_id.startsWith("PR_")) { + if ((config.issue.node_id && config.issue.node_id.startsWith("PR_")) || + (config.issue.nodeId && config.issue.nodeId.startsWith("PR_"))) { // Log and skip PRs (comments) log.info(`Action is performed on PR #${config.issue.number}. Skipping...`); } else { From 8ddcc27d6f97af6a067edefd46a10fdd2c56510b Mon Sep 17 00:00:00 2001 From: Joshua Davis Date: Thu, 1 Feb 2024 12:38:24 -0500 Subject: [PATCH 2/2] Bumping version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ab43419..356cabc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-actions-gitsync", - "version": "1.2.2", + "version": "1.2.3", "description": "A workflow action that syncs GitHub and Azure DevOps activities.", "main": "index.js", "scripts": {