From dc9a248c475f929045d385bf3b386de02211f368 Mon Sep 17 00:00:00 2001 From: Rittik Dasgupta Date: Tue, 5 Nov 2024 13:44:44 +0530 Subject: [PATCH] enhancement(comment): add horizontal line before deprecation callout --- adapters/integrations/github-integration.js | 2 +- adapters/integrations/gitlab-integration.js | 2 +- dist/index.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adapters/integrations/github-integration.js b/adapters/integrations/github-integration.js index 7232303..37a9f09 100644 --- a/adapters/integrations/github-integration.js +++ b/adapters/integrations/github-integration.js @@ -917,7 +917,7 @@ export default class GitHubIntegration extends IntegrationInterface { const { pull_request } = context?.payload || {}; // Deprecation callout - const deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` + let deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` deprecationCallout = "\n\n---\n\n" + deprecationCallout; diff --git a/adapters/integrations/gitlab-integration.js b/adapters/integrations/gitlab-integration.js index 8ea93c2..1459e9f 100644 --- a/adapters/integrations/gitlab-integration.js +++ b/adapters/integrations/gitlab-integration.js @@ -601,7 +601,7 @@ export default class GitLabIntegration extends IntegrationInterface { ); // Deprecation callout - const deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` + let deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` deprecationCallout = "\n\n---\n\n" + deprecationCallout; diff --git a/dist/index.js b/dist/index.js index a1a6a63..967868c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26477,7 +26477,7 @@ class GitHubIntegration extends IntegrationInterface { const { pull_request } = context?.payload || {}; // Deprecation callout - const deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` + let deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` deprecationCallout = "\n\n---\n\n" + deprecationCallout; @@ -34766,7 +34766,7 @@ class GitLabIntegration extends IntegrationInterface { ); // Deprecation callout - const deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` + let deprecationCallout = `:warning: Deprecation Notice: This action is scheduled for deprecation and will no longer be supported after June 2025. To ensure a smooth transition and continued functionality, please migrate to atlan-action by following the migration guide available [here](https://ask.atlan.com/hc/en-us/articles/11121331752719).` deprecationCallout = "\n\n---\n\n" + deprecationCallout;