nvim-neorocks / nurr

A repository for hosting auto-generated Neovim plugins and tree-sitter parsers for Luarocks.
MIT License
28 stars 3 forks source link

Split json into multiple workflows #2

Closed mrcjkb closed 6 months ago

mrcjkb commented 6 months ago

The Github actions limitations are as follows:

A job matrix can generate a maximum of 256 jobs per workflow run. This limit applies to both GitHub-hosted and self-hosted runners. No more than 500 workflow runs can be queued in a 10 second interval per repository.

We have hit the 256 jobs limit, but if we split the json into multiple files and trigger one workflow run per json file, we can scale by a factor of 500, publishing up to 128'000 plugins before we have to think about batching workflows at different intervals.