Repository navigation
chore(deps): vite-plus sync #3244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| name: Renovate vite toolchain reconcile | ||
|
|
||
| # Runs `vp migrate` against Renovate's grouped vite-plus/vite/vitest PR branch | ||
| # and pushes back any reconciliation it makes (catalog/override alignment), | ||
| # so the versions vite-plus bundles internally and the versions this project | ||
| # depends on directly can never land out of sync. See | ||
| # openspec/changes/fix-vite-plus-dependency-drift for the incident history | ||
| # and rationale. | ||
| # | ||
| # Triggered on file changes rather than branch name, since Renovate's grouped | ||
| # branch/slug naming for the "vite monorepo" packageRules group has not been | ||
| # empirically confirmed yet (see design.md open questions). | ||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize] | ||
| paths: | ||
| - package.json | ||
| - pnpm-lock.yaml | ||
| - pnpm-workspace.yaml | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| vp-migrate: | ||
| name: Reconcile vite-plus/vite/vitest versions | ||
| runs-on: ubuntu-latest | ||
| # Only Renovate's own branches: this workflow pushes commits back onto | ||
| # the PR branch, which would be surprising (and is unnecessary) on a | ||
| # human-authored PR. | ||
| if: github.event.pull_request.user.login == 'renovate[bot]' | ||
| permissions: | ||
| contents: write | ||
|
|
||
| steps: | ||
| - name: Checkout PR head | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.ref }} | ||
| persist-credentials: true | ||
|
|
||
| - name: Setup Node.js | ||
| uses: ./.github/actions/setup-node | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this breaks our actionlint step |
||
|
|
||
| - name: Run vp migrate | ||
| run: pnpm exec vp migrate --no-interactive | ||
|
|
||
| - name: Commit and push reconciliation, if any | ||
| env: | ||
| GIT_AUTHOR_NAME: github-actions[bot] | ||
| GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com | ||
| GIT_COMMITTER_NAME: github-actions[bot] | ||
| GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com | ||
| run: | | ||
| if git diff --quiet; then | ||
| echo "vp migrate produced no changes; nothing to commit." | ||
| exit 0 | ||
| fi | ||
| git add -A | ||
| git commit -m "chore(deps): reconcile vite-plus/vite/vitest versions via vp migrate" | ||
| git push origin "HEAD:${{ github.event.pull_request.head.ref }}" | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks our actionlint step