Repository navigation
chore: automate js assets updates - #8897
Merged
Merged
Conversation
Drop the orphan package-lock.json that made Dependabot security updates fail. A monthly workflow runs tools/update-js.sh and opens a pull request on 5.0, and Dependabot github-actions updates now target 5.0 so they reach main through the merge-up.
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.jsonis a leftover oftools/update-js.sh(the script deletes it before installing), but GitHub scans it: 54 open alerts and Dependabot security updates failing on/package.json not found. Removed, and the script now deletes it at the end.We always forget to run
update-js.sh, so a monthly workflow (also manual) runs it and opens or refreshes a PR on 5.0 when swagger-ui, redoc or open-sans changed. It uses the API Platform app token so CI runs on that PR. Schedules only run from the default branch, so it starts after the next merge-up, andBASE_BRANCHneeds a bump with each minor.Dependabot github-actions updates now target 5.0: actions are pinned by SHA, these PRs are what keeps the pins current, and they used to land on main only.