Skip to content

Commit dddf213

Browse files
authored
Replace renovate with dependabot (#27)
1 parent beb890c commit dddf213

File tree

3 files changed

+28
-22
lines changed

3 files changed

+28
-22
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
reviewers:
8+
- "jamesrweb"
9+
labels:
10+
- "dependencies"
11+
groups:
12+
development-dependencies:
13+
dependency-type: "development"
14+
react:
15+
patterns:
16+
- "react*"
17+
ignore:
18+
- dependency-name: "*"
19+
update-types: ["version-update:semver-patch"]

.github/workflows/CI.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ on:
77
concurrency: ci-${{ github.ref }}
88

99
jobs:
10-
renovate-bot:
10+
dependabot-bot:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: P5-wrapper/setup-action@v1.0.6
1414
with:
1515
token: ${{ secrets.GH_TOKEN }}
1616

17-
- name: Run format if the PR is from the Renovate bot
18-
if: github.actor == 'renovate[bot]'
17+
- name: Run format if the PR is from the Dependabot bot
18+
if: github.actor == 'dependabot[bot]'
1919
run: pnpm --if-present format
2020
shell: bash
2121

2222
- name: Commit any formatting changes
23-
if: github.actor == 'renovate[bot]'
23+
if: github.actor == 'dependabot[bot]'
2424
uses: stefanzweifel/git-auto-commit-action@v5.0.0
2525
with:
2626
commit_message: Apply formatting updates
@@ -29,7 +29,7 @@ jobs:
2929

3030
format:
3131
runs-on: ubuntu-latest
32-
needs: renovate-bot
32+
needs: depandabot-bot
3333
steps:
3434
- uses: P5-wrapper/setup-action@v1.0.6
3535
with:
@@ -50,7 +50,7 @@ jobs:
5050

5151
lint:
5252
runs-on: ubuntu-latest
53-
needs: renovate-bot
53+
needs: dependabot-bot
5454
steps:
5555
- uses: P5-wrapper/setup-action@v1.0.6
5656
with:
@@ -71,7 +71,7 @@ jobs:
7171

7272
test:
7373
runs-on: ubuntu-latest
74-
needs: renovate-bot
74+
needs: dependabot-bot
7575
steps:
7676
- uses: P5-wrapper/setup-action@v1.0.6
7777
with:
@@ -82,11 +82,11 @@ jobs:
8282

8383
build:
8484
runs-on: ubuntu-latest
85-
needs: renovate-bot
85+
needs: dependabot-bot
8686
steps:
8787
- uses: P5-wrapper/setup-action@v1.0.6
8888
with:
8989
token: ${{ secrets.GH_TOKEN }}
9090

9191
- name: Build
92-
run: pnpm build
92+
run: pnpm build

renovate.json

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

0 commit comments

Comments
 (0)