fix(deps): update dependency vite to ^8.3.1 #3640
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
| name: Auto-approve Renovate PRs | ||
|
Check warning on line 1 in .github/workflows/renovate-auto-approve.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened] | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| jobs: | ||
| auto-approve: | ||
| runs-on: ubuntu-latest | ||
| if: | | ||
| github.event.pull_request.head.repo.full_name == github.repository && | ||
| startsWith(github.event.pull_request.head.ref, 'renovate/') && | ||
| !contains(github.event.pull_request.labels.*.name, 'needs-review') | ||
| steps: | ||
| - name: Check PR labels | ||
| id: check-labels | ||
| run: | | ||
| # Auto-approve if PR has safe labels | ||
| LABELS='${{ toJSON(github.event.pull_request.labels.*.name) }}' | ||
| # Skip if requires manual review | ||
| if echo "$LABELS" | grep -q "needs-review"; then | ||
| echo "skip=true" >> $GITHUB_OUTPUT | ||
| exit 0 | ||
| fi | ||
| # Skip if major update or breaking change | ||
| if echo "$LABELS" | grep -q "major-update"; then | ||
| echo "skip=true" >> $GITHUB_OUTPUT | ||
| exit 0 | ||
| fi | ||
| if echo "$LABELS" | grep -q "breaking-change"; then | ||
| echo "skip=true" >> $GITHUB_OUTPUT | ||
| exit 0 | ||
| fi | ||
| echo "skip=false" >> $GITHUB_OUTPUT | ||
| - name: Wait for required checks to pass | ||
| if: steps.check-labels.outputs.skip != 'true' | ||
| uses: lewagon/wait-on-check-action@369769072fe522a3a8a85c03c96af1e5242a1994 # v1.9.1 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| wait-interval: 30 | ||
| running-workflow-name: 'auto-approve' | ||
| # Include "skipped" so conditionally-run jobs (e.g. claude-review, | ||
| # publish-preview) don't block auto-approval when they don't execute | ||
| # on Renovate PRs. | ||
| allowed-conclusions: success,skipped | ||
| - name: Auto-approve Renovate PR | ||
| if: steps.check-labels.outputs.skip != 'true' | ||
| uses: hmarr/auto-approve-action@v4 | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||