Add badge-11 through badge-15 inputs#28
Open
benmepham-genio wants to merge 3 commits into
Open
Conversation
Increase the badge cap from 10 to 15 so workflows declaring more than 10 badges don't have their extras silently dropped by GitHub Actions with "Unexpected input(s) 'badge-11'" warnings. - action.yml: add badge-11..badge-15 (all required: false) - src/util/actions.ts: extract MAX_BADGES = 15 and loop to it - src/util/actions.test.ts: assert MAX_BADGES inputs are returned and extend the partial-fill test to cover the new range The bin/index.js bundle needs regenerating (npm run build) before this change takes effect at runtime — handled in a follow-up commit.
Two related fixes packaged together so `npm ci` works from a clean checkout and the runtime picks up the badge-11..badge-15 inputs. - package-lock.json: rewrite the 66 `resolved` URLs that point at https://nexus.smilne.dev/repository/npm-group/ (the maintainer's private Nexus mirror) to https://registry.npmjs.org/. Integrity hashes unchanged — Nexus was proxying npmjs.org so tarball contents are byte-identical. - bin/index.js: regenerated via `npm run build` so the bundle actually exposes the MAX_BADGES = 15 loop. Without this, the preceding action.yml + actions.ts changes have no runtime effect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
package-lock.jsonto point to npmjs rather than your private registry - up to you if you keep that or not!