Files
iptv/docs/workflows.md
Aleksandr Statciuk 188a16c61e Patch 2026.09.2 (#50642)
* Move docs/ to root directory

* Fix file name

* Update scripts.md

* Delete playlist-structure.md

* Create playlists.md

* Update stream-testing.md

* Create geo-blocking.md

* Create stream-id.md

* Update CONTRIBUTING.md
2026-09-07 02:29:08 +02:00

26 lines
1.1 KiB
Markdown

# Workflows
To automate running the [scripts](./scripts.md), we use [GitHub Actions workflows](https://docs.github.com/en/actions/using-workflows).
Each workflow includes its own set of scripts that can be run either manually or in response to a repository event.
## check
Sequentially runs the `api:load`, `playlist:lint`, and `playlist:validate` scripts whenever a new pull request is opened, blocking the merge if it detects any errors.
## format
Sequentially runs the `api:load`, `playlist:format`, `playlist:lint`, and `playlist:validate` scripts.
## update
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_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.
## validate_label
Triggers when a new label is added to an issue. It checks the label, and if it's incorrect, the bot deletes it and leaves a comment explaining why.