Commit Graph
3 Commits
Author SHA1 Message Date
Jan Tomášek 44512bd2d8 Move screenshot validation to plugin.yaml URLs 2026-03-08 18:55:47 +01:00
frdel c855ad7c91 Treat START_FROM as plugin index (default 0)
Change START_FROM handling to be an index rather than a plugin name. Update three workflow files (.github/workflows/generate-all.yml, generate-plugin-discussions.yml, generate-plugin-index.yml) to set the start_from input default to "0", update its description to reference an index, and pass a '0' fallback into job inputs/env instead of an empty string. Update scripts/plugin_resolution.py to parse START_FROM as an integer index, slice the plugin list from that index (only if >0), and warn on non-integer values. This makes start-position handling position-based and provides a sensible default.
2026-03-05 12:43:03 +01:00
frdel a60e9b46be Split workflows and add plugin resolution
Refactor CI/workflow and plugin detection logic: extract generate-index and generate-discussions into reusable workflow files and update generate-all and generate-post-commit to call them; increase default MAX_PLUGINS to 1000 and add start_from and plugin_names inputs. Introduce scripts/plugin_resolution.py to centralize detection of affected plugin names (get_plugin_names, PLUGINS_DIR, REPO_ROOT, DEFAULT_MAX_PLUGINS) and remove the old generate_post_commit.py script. Update scripts/generate_index.py and scripts/update_plugin_discussions.py to use the new resolution module and adapt error handling and request logic accordingly.
2026-03-05 12:15:24 +01:00