From 91bebcdf9b64badbe32c2125fe6a6d39bc8a76d3 Mon Sep 17 00:00:00 2001 From: henrikemota Date: Tue, 14 Jan 2025 16:09:58 -0300 Subject: [PATCH 1/3] Create deprecation-message.yml --- .github/workflows/deprecation-message.yml | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/deprecation-message.yml diff --git a/.github/workflows/deprecation-message.yml b/.github/workflows/deprecation-message.yml new file mode 100644 index 0000000000..0ff1c027a2 --- /dev/null +++ b/.github/workflows/deprecation-message.yml @@ -0,0 +1,26 @@ +name: Deprecation Warning + +on: + pull_request: + types: + - opened + +jobs: + post-deprecation-message: + runs-on: ubuntu-latest + + steps: + - name: Add deprecation message as a comment + uses: actions/github-script@v6 + with: + script: | + const message = ` + ### 🚨 This repository is deprecated + This repository is no longer actively maintained. Please refer to alternative projects or documentation for guidance. + `; + github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + body: message, + }); From 0f558386737d2e35e4a50002b549e9b0aa0407fd Mon Sep 17 00:00:00 2001 From: henrikemota Date: Tue, 14 Jan 2025 16:11:34 -0300 Subject: [PATCH 2/3] Update deprecation-message.yml --- .github/workflows/deprecation-message.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deprecation-message.yml b/.github/workflows/deprecation-message.yml index 0ff1c027a2..d8ae5735f7 100644 --- a/.github/workflows/deprecation-message.yml +++ b/.github/workflows/deprecation-message.yml @@ -15,8 +15,12 @@ jobs: with: script: | const message = ` - ### 🚨 This repository is deprecated - This repository is no longer actively maintained. Please refer to alternative projects or documentation for guidance. + ### 🚨 This Repository is Deprecated + This repository is no longer actively maintained. Please use the new repository for future updates and contributions: + + 👉 **[New Repository](https://github.com/melisource/fury_mobile-dependencies-allowlist)** 👈 + + If you have any questions, refer to the new repository or contact the maintainers. `; github.rest.issues.createComment({ owner: context.repo.owner, From 4fce7ff95d896ff7a2dcc1762f251f1206ece036 Mon Sep 17 00:00:00 2001 From: henrikemota Date: Tue, 14 Jan 2025 16:17:16 -0300 Subject: [PATCH 3/3] Update deprecation-message.yml --- .github/workflows/deprecation-message.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deprecation-message.yml b/.github/workflows/deprecation-message.yml index d8ae5735f7..2fbfb38341 100644 --- a/.github/workflows/deprecation-message.yml +++ b/.github/workflows/deprecation-message.yml @@ -7,7 +7,7 @@ on: jobs: post-deprecation-message: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Add deprecation message as a comment