fix: stabilize dependabot auto-merge policy

This commit is contained in:
xixu-me committed 2026-03-17 15:40:57 +08:00
1 parent 09f560cd24
commit 515e2771e9
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@ updates:
- dependabot
ignore:
- dependency-name: eslint
update-types:
- version-update:semver-major
versions:
- ">=10"
groups:
npm-production:
dependency-type: production
+2 -1
View File
@@ -21,6 +21,7 @@ jobs:
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-commit-verification: true
- name: Enable auto-merge after checks pass
if: |
@@ -30,4 +31,4 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: gh pr merge "$PR_URL" --auto --squash
run: gh pr merge "$PR_URL" --auto --merge