Skip to content

Commit 70e9b44

Browse files
authored
Merge branch 'main' into main-publish-to-separate-website-repo
2 parents 7ec069b + 24d0359 commit 70e9b44

File tree

3 files changed

+86
-54
lines changed

3 files changed

+86
-54
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Auto-merge dependabot updates
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
permissions:
8+
pull-requests: write
9+
contents: write
10+
11+
jobs:
12+
13+
dependabot-merge:
14+
15+
runs-on: ubuntu-latest
16+
17+
if: ${{ github.actor == 'dependabot[bot]' }}
18+
19+
steps:
20+
- name: Dependabot metadata
21+
id: metadata
22+
uses: dependabot/[email protected]
23+
with:
24+
github-token: "${{ secrets.GITHUB_TOKEN }}"
25+
26+
- name: Enable auto-merge for Dependabot PRs
27+
# Only if version bump is not a major version change
28+
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
29+
run: gh pr merge --auto --merge "$PR_URL"
30+
env:
31+
PR_URL: ${{github.event.pull_request.html_url}}
32+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

package-lock.json

Lines changed: 52 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"yargs": "^18.0.0"
2222
},
2323
"devDependencies": {
24-
"@hyperjump/json-schema-coverage": "^1.1.1",
24+
"@hyperjump/json-schema-coverage": "^1.1.2",
2525
"c8": "^10.1.3",
2626
"markdownlint-cli": "^0.45.0",
2727
"mdv": "^1.3.4",
2828
"prettier": "^3.6.2",
29-
"vitest": "^4.0.1",
29+
"vitest": "^4.0.3",
3030
"yaml": "^2.8.1"
3131
},
3232
"keywords": [

0 commit comments

Comments
 (0)