diff --git a/.github/docs/scripts.md b/.github/docs/scripts.md index 95068c86a7..79edeebe72 100644 --- a/.github/docs/scripts.md +++ b/.github/docs/scripts.md @@ -7,6 +7,8 @@ For the scripts to work, you must have [Node.js](https://nodejs.org/en) installe - [act:check](#actcheck) - [act:format](#actformat) - [act:update](#actupdate) +- [act:validate_issue](#actvalidate_issue) +- [act:validate_label](#actvalidate_label) - [api:load](#apiload) - [playlist:format](#playlistformat) - [playlist:update](#playlistupdate) @@ -45,6 +47,22 @@ Runs the [update](./workflows.md#update) workflow locally. Depends on [nektos/gh 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 Downloads the latest channel and stream data from the [iptv-org/api](https://github.com/iptv-org/api) repository.