mirror of
https://github.com/iptv-org/iptv
synced 2026-09-09 13:27:58 -04:00
Update scripts.md
This commit is contained in:
@@ -7,6 +7,8 @@ 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_issue](#actvalidate_issue)
|
||||||
|
- [act:validate_label](#actvalidate_label)
|
||||||
- [api:load](#apiload)
|
- [api:load](#apiload)
|
||||||
- [playlist:format](#playlistformat)
|
- [playlist:format](#playlistformat)
|
||||||
- [playlist:update](#playlistupdate)
|
- [playlist:update](#playlistupdate)
|
||||||
@@ -45,6 +47,22 @@ Runs the [update](./workflows.md#update) workflow locally. Depends on [nektos/gh
|
|||||||
npm run act:update
|
npm run act:update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## act:validate_issue
|
||||||
|
|
||||||
|
Runs the [validate_issue](./workflows.md#validate_issue) workflow locally. Depends on [nektos/gh-act](https://github.com/nektos/gh-act).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run act:validate_issue -- -e .github/mocks/events/issue_opened.json
|
||||||
|
```
|
||||||
|
|
||||||
|
## act:validate_label
|
||||||
|
|
||||||
|
Runs the [validate_label](./workflows.md#validate_label) workflow locally. Depends on [nektos/gh-act](https://github.com/nektos/gh-act).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run act:validate_label -- -e .github/mocks/events/issue_approved.json --actor Bob
|
||||||
|
```
|
||||||
|
|
||||||
## api:load
|
## api:load
|
||||||
|
|
||||||
Downloads the latest channel and stream data from the [iptv-org/api](https://github.com/iptv-org/api) repository.
|
Downloads the latest channel and stream data from the [iptv-org/api](https://github.com/iptv-org/api) repository.
|
||||||
|
|||||||
Reference in New Issue
Block a user