paperclip-github-plugin 0.17.3 → 0.17.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/manifest.js CHANGED
@@ -691,7 +691,7 @@ var COMPANY_METRIC_API_ROUTE_URL_PATH = `/api/plugins/${GITHUB_SYNC_PLUGIN_ID}/a
691
691
  var require2 = createRequire(import.meta.url);
692
692
  var packageJson = require2("../package.json");
693
693
  var SCHEDULE_TICK_CRON = "* * * * *";
694
- var MANIFEST_VERSION = "0.17.3"?.trim() || typeof packageJson.version === "string" && packageJson.version.trim() || process.env.npm_package_version?.trim() || "0.0.0-dev";
694
+ var MANIFEST_VERSION = "0.17.4"?.trim() || typeof packageJson.version === "string" && packageJson.version.trim() || process.env.npm_package_version?.trim() || "0.0.0-dev";
695
695
  var COMPANY_SECRET_REF_VALUE_SCHEMA = {
696
696
  anyOf: [
697
697
  { type: "string" },
package/dist/worker.js CHANGED
@@ -11641,7 +11641,8 @@ async function synchronizePaperclipPullRequestIssueStatuses(ctx, octokit, mappin
11641
11641
  await persistRemoteActionRegistry();
11642
11642
  remoteAction = remoteActionRegistry.find((record) => record.key === remoteActionKey) ?? remoteAction;
11643
11643
  }
11644
- if (shouldClearTransitionAssignee || shouldClearCompletedExecutionPolicy || nextAssigneeChanged) {
11644
+ const shouldClearExistingExecutionPolicy = (shouldPreserveMaintainerWaitRouting || shouldClearCompletedExecutionPolicy) && Boolean(paperclipIssueSyncContext.executionPolicy);
11645
+ if (shouldClearTransitionAssignee || shouldClearExistingExecutionPolicy || nextAssigneeChanged) {
11645
11646
  updateSyncFailureContext(syncFailureContext, {
11646
11647
  phase: "updating_paperclip_status",
11647
11648
  repositoryUrl: primaryRepository?.url,
@@ -11655,7 +11656,7 @@ async function synchronizePaperclipPullRequestIssueStatuses(ctx, octokit, mappin
11655
11656
  nextStatus,
11656
11657
  ...nextAssigneeChanged && nextTransitionAssignee ? { nextAssignee: nextTransitionAssignee.principal } : {},
11657
11658
  ...shouldClearTransitionAssignee ? { clearAssignee: true } : {},
11658
- ...shouldPreserveMaintainerWaitRouting || shouldClearCompletedExecutionPolicy ? { clearExecutionPolicy: true } : {},
11659
+ ...shouldClearExistingExecutionPolicy ? { clearExecutionPolicy: true } : {},
11659
11660
  transitionComment: "",
11660
11661
  actionFingerprint: actionJournalFingerprint,
11661
11662
  paperclipApiBaseUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paperclip-github-plugin",
3
- "version": "0.17.3",
3
+ "version": "0.17.4",
4
4
  "description": "Paperclip plugin for synchronizing GitHub issues into Paperclip projects.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",