Merge pull request #4242 from iptv-org/update-cleanup-workflow

Update "cleanup" workflow
This commit is contained in:
Shadix A 2021-08-23 11:57:20 +02:00 committed by GitHub
commit 51ade59d95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -71,8 +71,3 @@ jobs:
token: ${{ secrets.PAT }}
pull-request-number: ${{ steps.pr.outputs.pr_number }}
merge-method: squash
- name: Approve Pull Request
uses: juliangruber/approve-pull-request-action@v1
with:
github-token: ${{ secrets.PAT }}
number: ${{ steps.pr.outputs.pr_number }}

View File

@ -109,7 +109,7 @@ function updateOrigins(channel, requests) {
function updateStatus(channel, status) {
switch (status) {
case 'online':
channel.status = null
channel.status = channel.status === 'Offline' ? 'Not 24/7' : null
break
case 'offline':
channel.status = 'Offline'