Skip to content

Commit b370e6a

Browse files
authored
Merge pull request #29 from palashmon/renovate/configure
chore: Configure Renovate
2 parents d605f71 + 7c40e3a commit b370e6a

File tree

7 files changed

+43
-76
lines changed

7 files changed

+43
-76
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>palashmon/renovate-config"]
4+
}

.github/workflows/auto-approve.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Auto-approve PR
2+
on: pull_request_target
3+
permissions:
4+
contents: write
5+
pull-requests: write
6+
jobs:
7+
auto-approve-renovate-prs:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Git Checkout
11+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
12+
with:
13+
fetch-depth: '0'
14+
- name: Approve PR
15+
if: github.actor == 'renovate[bot]'
16+
run: |
17+
gh pr review --approve ${{ github.event.number }} -b "I'm **approving** \
18+
this pull request because it includes a patch or minor update."
19+
env:
20+
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/main.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
name: Node.js ${{ matrix.node-version }}
6+
runs-on: ubuntu-latest
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
node-version: ['lts/*', 'current']
11+
steps:
12+
- name: Checkout Repo
13+
uses: actions/checkout@v4
14+
- name: Setup Node.js (${{ matrix.node-version }})
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
- run: npm install
19+
- run: npm test

.mergify.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)