Skip to content

Commit

Permalink
enhancement(comment): add horizontal line before deprecation callout
Browse files Browse the repository at this point in the history
  • Loading branch information
rittikdasgupta committed Nov 5, 2024
1 parent eed4006 commit fa808e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
8 changes: 3 additions & 5 deletions adapters/integrations/github-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -917,12 +917,10 @@ 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).`
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).`

deprecationCallout = "\n\n---\n\n" + deprecationCallout;

content = `<!-- ActionCommentIdentifier: atlan-dbt-action -->
${content}
Expand Down
8 changes: 3 additions & 5 deletions adapters/integrations/gitlab-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,12 +601,10 @@ 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).`
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).`

deprecationCallout = "\n\n---\n\n" + deprecationCallout;

content = `<!-- ActionCommentIdentifier: atlan-dbt-action -->
${content}
Expand Down
16 changes: 6 additions & 10 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26477,12 +26477,10 @@ 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).`
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).`

deprecationCallout = "\n\n---\n\n" + deprecationCallout;

content = `<!-- ActionCommentIdentifier: atlan-dbt-action -->
${content}

Expand Down Expand Up @@ -34768,12 +34766,10 @@ 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).`
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).`

deprecationCallout = "\n\n---\n\n" + deprecationCallout;

content = `<!-- ActionCommentIdentifier: atlan-dbt-action -->
${content}

Expand Down

0 comments on commit fa808e2

Please sign in to comment.