mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-17 12:30:03 -04:00
Merge pull request #4242 from iptv-org/update-cleanup-workflow
Update "cleanup" workflow
This commit is contained in:
commit
51ade59d95
2 changed files with 1 additions and 6 deletions
5
.github/workflows/cleanup.yml
vendored
5
.github/workflows/cleanup.yml
vendored
|
@ -71,8 +71,3 @@ jobs:
|
||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
pull-request-number: ${{ steps.pr.outputs.pr_number }}
|
pull-request-number: ${{ steps.pr.outputs.pr_number }}
|
||||||
merge-method: squash
|
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) {
|
function updateStatus(channel, status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 'online':
|
case 'online':
|
||||||
channel.status = null
|
channel.status = channel.status === 'Offline' ? 'Not 24/7' : null
|
||||||
break
|
break
|
||||||
case 'offline':
|
case 'offline':
|
||||||
channel.status = 'Offline'
|
channel.status = 'Offline'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue