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