Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit f4d27d9

Browse files
authored
Merge pull request #503 from linuxserver/deprecation-comments
Create deprecated.yml
2 parents 1b8fe0b + 0bbb4e0 commit f4d27d9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/deprecated.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Deprecated
2+
3+
on:
4+
issues:
5+
types: [opened, reopened]
6+
pull_request_target:
7+
types: [opened, reopened]
8+
9+
jobs:
10+
comment:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- run: |
14+
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -X POST "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/issues/${{ github.event.issue.number || github.event.pull_request.number }}/comments" \
15+
-d '{"body": "# IMPORTANT NOTICE: THIS IMAGE HAS BEEN DEPRECATED AND THE PROJECT IS MOVED TO A NEW REPO\nDue to a trademark related request, this image is moved to a new repo on [Docker Hub](https://hub.docker.com/r/linuxserver/swag) and [GitHub](https://github.com/linuxserver/docker-swag). This is a breaking change and you need to manually update. Apologies for the the disruption."}'

0 commit comments

Comments
 (0)