From b582822a9e7c5df6bb3fdee1d2d97a55c0ae1df1 Mon Sep 17 00:00:00 2001 From: Tomas Sebestik Date: Fri, 1 Dec 2023 14:42:22 +0100 Subject: [PATCH] change(danger-github): add deprecated warning message to action output --- danger_pr_review/README.md | 4 ++++ danger_pr_review/dangerjs/dangerfile.ts | 2 ++ 2 files changed, 6 insertions(+) diff --git a/danger_pr_review/README.md b/danger_pr_review/README.md index 854ab9a..4073897 100644 --- a/danger_pr_review/README.md +++ b/danger_pr_review/README.md @@ -1,3 +1,7 @@ +:warning: **Deprecation Notice**: This GitHub action is scheduled for removal in March 2024. We recommend migrating to the latest version available in the [shared-github-danger](https://github.com/espressif/shared-github-dangerjs) project. + +--- + # DangerJS pull request automatic review tool - GitHub This is the DangerJS pull request linter GitHub action, that can be called from another repositories. It's purpose is to keep the style of each PR in the specified style and automatically check for simple things like correct PR description, meaningful git messages, correct PR target branch, etc. diff --git a/danger_pr_review/dangerjs/dangerfile.ts b/danger_pr_review/dangerjs/dangerfile.ts index 90e2aa4..7f9efdc 100644 --- a/danger_pr_review/dangerjs/dangerfile.ts +++ b/danger_pr_review/dangerjs/dangerfile.ts @@ -45,4 +45,6 @@ function addRetryLink(): void { const retryLink: string = `:repeat: You can re-run automatic PR checks by retrying the DangerJS action`; markdown(retryLink); + + markdown(`***\n:warning: **Deprecation Notice**: This GitHub action is scheduled for removal in March 2024. We recommend migrating to the latest version available in the [shared-github-danger](https://github.com/espressif/shared-github-dangerjs) project.`) }