added check for crlf to workers.txt - #3207
Conversation
|
Maybe it would be better to create a script |
That makes sense. By 'call it from the action.' you mean to the |
Added 'workers:validate' script to package.json.
|
I think so. |
|
@freearhey Isn't this because the script has not been added yet? And the script addition doesn't seem to be identified by the |
|
Yes, according to the report https://github.com/iptv-org/epg/actions/runs/29319998749/job/87042801320?pr=3207 this is the reason. |
|
Why don't we use simple solution using |
|
We tried it, but if a file with an incorrect line ending made its way into the repository, it would block all further commits: #2871 |
freearhey
left a comment
There was a problem hiding this comment.
Could you also add a test for workers/validate.ts?
|
@freearhey Can I have write access to this repository? |
|
@tohenk But you already have write access to all repositories in the iptv-org:
|
ef189cc to
64bf194
Compare
64bf194 to
dc8b634
Compare
Signed-off-by: Toha <tohenk@yahoo.com>
worker.txtworkers.txt
Does adding new server/link via GitHub web editor to the Wouldn't it be better to add an issue form to add a server instead of creating a PR? |
Good question.
Well, I think creating a separate template and script just to add a single line to a file is definitely overkill. |
Not only that it does not work, but introducing the |
Here's another trick that might help: In the |
That is a very useful hint and I will for sure use it. There is still my point that this your approach is way better then the |
|
We need renormalize after adding git add --renormalize . |
Still that |
Has anyone done this kind of PR yet? And in the end, do we still need |
It won't be needed anymore. |

worker.txtneeds to be in CRLFscripts/commands/workers/validate.tsand integrate it tocheck.yml