Merge pull request #4242 from iptv-org/update-cleanup-workflow
Update "cleanup" workflow
This commit is contained in:
commit
51ade59d95
|
@ -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 }}
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue