mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Update docs
This commit is contained in:
1 parent
49201f3358
commit
c32c0bc3c3
2 files changed
+22
No files matched your search
@@ -7,9 +7,11 @@ For the scripts to work, you must have [Node.js](https://nodejs.org/en) installe
|
|||||||
- [act:check](#actcheck)
|
- [act:check](#actcheck)
|
||||||
- [act:format](#actformat)
|
- [act:format](#actformat)
|
||||||
- [act:update](#actupdate)
|
- [act:update](#actupdate)
|
||||||
|
- [act:validate_discussion](#actvalidate_discussion)
|
||||||
- [act:validate_issue](#actvalidate_issue)
|
- [act:validate_issue](#actvalidate_issue)
|
||||||
- [act:validate_label](#actvalidate_label)
|
- [act:validate_label](#actvalidate_label)
|
||||||
- [api:load](#apiload)
|
- [api:load](#apiload)
|
||||||
|
- [discussion:validate](#discussionvalidate)
|
||||||
- [issue:validate](#issuevalidate)
|
- [issue:validate](#issuevalidate)
|
||||||
- [playlist:format](#playlistformat)
|
- [playlist:format](#playlistformat)
|
||||||
- [playlist:update](#playlistupdate)
|
- [playlist:update](#playlistupdate)
|
||||||
@@ -48,6 +50,14 @@ Runs the [update](./workflows.md#update) workflow locally. Depends on [nektos/gh
|
|||||||
npm run act:update
|
npm run act:update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## act:validate_discussion
|
||||||
|
|
||||||
|
Runs the [validate_discussion](./workflows.md#validate_discussion) workflow locally. Depends on [nektos/gh-act](https://github.com/nektos/gh-act).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run act:validate_discussion -- -e .github/mocks/events/discussion_opened.json -s GITHUB_TOKEN=github_pat_***
|
||||||
|
```
|
||||||
|
|
||||||
## act:validate_issue
|
## act:validate_issue
|
||||||
|
|
||||||
Runs the [validate_issue](./workflows.md#validate_issue) workflow locally. Depends on [nektos/gh-act](https://github.com/nektos/gh-act).
|
Runs the [validate_issue](./workflows.md#validate_issue) workflow locally. Depends on [nektos/gh-act](https://github.com/nektos/gh-act).
|
||||||
@@ -72,6 +82,14 @@ Downloads the latest channel and stream data from the [iptv-org/api](https://git
|
|||||||
npm run api:load
|
npm run api:load
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## discussion:validate
|
||||||
|
|
||||||
|
Checks the request for errors and saves the result to the file `temp/logs/result.json`
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run discussion:validate --number=123 --body="### Stream URL..."
|
||||||
|
```
|
||||||
|
|
||||||
## issue:validate
|
## issue:validate
|
||||||
|
|
||||||
Checks the request for errors and, if any are found, saves a list of them to the file `temp/logs/errors.txt`
|
Checks the request for errors and, if any are found, saves a list of them to the file `temp/logs/errors.txt`
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ Sequentially runs the `api:load`, `playlist:format`, `playlist:lint`, and `playl
|
|||||||
|
|
||||||
Runs every day at 0:00 UTC. It sequentially executes the `api:load`, `playlist:update`, `playlist:lint`, `playlist:validate`, `playlist:generate`, `playlist:export`, and `readme:update` scripts, then automatically deploys the updated files if successful.
|
Runs every day at 0:00 UTC. It sequentially executes the `api:load`, `playlist:update`, `playlist:lint`, `playlist:validate`, `playlist:generate`, `playlist:export`, and `readme:update` scripts, then automatically deploys the updated files if successful.
|
||||||
|
|
||||||
|
## validate_discussion
|
||||||
|
|
||||||
|
Runs when an discussion is opened or edited. It checks the requests for errors using `discussion:validate` script and, if any are found, the bot posts them in the comments.
|
||||||
|
|
||||||
## validate_issue
|
## validate_issue
|
||||||
|
|
||||||
Runs when an issue is opened or edited. It checks the requests for errors using `issue:validate` script and, if any are found, the bot posts them in the comments.
|
Runs when an issue is opened or edited. It checks the requests for errors using `issue:validate` script and, if any are found, the bot posts them in the comments.
|
||||||
|
|||||||
Reference in new issue
Block a user