Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

Commit

Permalink
Merge pull request #3149 from mercadolibre/feature/deprecation-message
Browse files Browse the repository at this point in the history
Feature/deprecation message
  • Loading branch information
henrikemota authored Jan 14, 2025
2 parents ac41712 + 4fce7ff commit e9c6940
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deprecation-message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deprecation Warning

on:
pull_request:
types:
- opened

jobs:
post-deprecation-message:
runs-on: self-hosted

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 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,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: message,
});

0 comments on commit e9c6940

Please sign in to comment.