Skip to content

chore(deps): bump vite-plugin-electron from 0.29.0 to 0.29.1 in the electron-ecosystem group #121

chore(deps): bump vite-plugin-electron from 0.29.0 to 0.29.1 in the electron-ecosystem group

chore(deps): bump vite-plugin-electron from 0.29.0 to 0.29.1 in the electron-ecosystem group #121

name: Dependabot Auto-Merge
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
name: Auto-Merge Safe Updates
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Auto-merge patch updates
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Label minor updates for review
if: steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: |
gh pr edit "$PR_URL" --add-label "needs-review"
gh pr comment "$PR_URL" --body "ℹ️ **Minor version update detected**
This PR contains a minor version bump. Please review before merging.
**Quick checks:**
- [ ] Changelog reviewed for new features
- [ ] CI passes on all platforms
Auto-merge is disabled for minor updates."
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Label major updates for manual review
if: steps.metadata.outputs.update-type == 'version-update:semver-major'
run: |
gh pr edit "$PR_URL" --add-label "needs-review,major-update"
gh pr comment "$PR_URL" --body "⚠️ **Major version update detected**
This PR contains a major version bump that may include breaking changes.
**Please review:**
- [ ] Check the package changelog for breaking changes
- [ ] Verify build passes on all platforms
- [ ] Test application functionality
Auto-merge is disabled for major updates."
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}