Skip to content

Commit 4e16093

Browse files
authored
Merge pull request #35 from palashmon/renovate/configure
chore: Configure Renovate
2 parents 1561eed + 76f9cfb commit 4e16093

10 files changed

+45
-185
lines changed

.github/dependabot.yml

-18
This file was deleted.

.github/workflows/auto-approve.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Auto-approve PR
2+
3+
on: pull_request_target
4+
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
9+
jobs:
10+
auto-approve-renovate-prs:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Git Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: '0'
17+
- name: Approve PR
18+
if: github.actor == 'renovate[bot]'
19+
run: gh pr review --approve ${{ github.event.number }}
20+
env:
21+
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/release_package.yml

-106
This file was deleted.

.mergify.yml

-8
This file was deleted.

.travis.yml

-15
This file was deleted.

CHANGELOG.md

-1
This file was deleted.

changelog-ci-config.yml

-8
This file was deleted.

codecov.yml

-26
This file was deleted.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/palashmon"
1111
},
1212
"engines": {
13-
"node": ">=8"
13+
"node": ">=18"
1414
},
1515
"scripts": {
1616
"test": "xo && ava",
@@ -32,7 +32,7 @@
3232
"devDependencies": {
3333
"ava": "^6.0.0",
3434
"nyc": "^15.0.0",
35-
"xo": "^0.58.0"
35+
"xo": "^0.56.0"
3636
},
3737
"type": "module"
38-
}
38+
}

renovate.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"extends": [
3+
"config:base"
4+
],
5+
"pinVersions": false,
6+
"rebaseWhen": "conflicted",
7+
"enabledManagers": [
8+
"npm",
9+
"github-actions"
10+
],
11+
"branchPrefix": "renovate/",
12+
"automergeType": "pr",
13+
"automerge": true,
14+
"platformAutomerge": true,
15+
"prConcurrentLimit": 30,
16+
"prHourlyLimit": 2,
17+
"rangeStrategy": "bump",
18+
"major": {
19+
"enabled": false
20+
}
21+
}

0 commit comments

Comments
 (0)