Skip to content

Commit 9ab1811

Browse files
authored
Merge pull request #93 from atom-ide-community/bumper
2 parents f2dd70a + 9548ffa commit 9ab1811

File tree

3 files changed

+89
-4402
lines changed

3 files changed

+89
-4402
lines changed

.github/dependabot.yml

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

.github/workflows/bump_deps.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Bump_Dependencies
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
Bump_Dependencies:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2-beta
13+
with:
14+
node-version: "12"
15+
16+
- name: setup npm-check-updates
17+
run: npm install -g npm-check-updates
18+
19+
- run: |
20+
ncu -u --dep prod
21+
npm install
22+
23+
24+
- uses: tibdex/github-app-token@v1
25+
id: generate-token
26+
with:
27+
app_id: ${{ secrets.APP_ID }}
28+
private_key: ${{ secrets.APP_PRIVATE_KEY }}
29+
- uses: peter-evans/create-pull-request@v3
30+
with:
31+
token: ${{ steps.generate-token.outputs.token }}
32+
commit-message: Update Dependencies
33+
title: "fix: Update Dependencies"
34+
labels: Dependencies
35+
branch: "Bump_Dependencies"
36+
37+
38+
Bump_devDependencies:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v2
42+
- uses: actions/setup-node@v2-beta
43+
with:
44+
node-version: "12"
45+
46+
- name: setup npm-check-updates
47+
run: npm install -g npm-check-updates
48+
49+
- run: |
50+
ncu -u --dep dev
51+
npm install
52+
53+
- uses: tibdex/github-app-token@v1
54+
id: generate-token
55+
with:
56+
app_id: ${{ secrets.APP_ID }}
57+
private_key: ${{ secrets.APP_PRIVATE_KEY }}
58+
- uses: peter-evans/create-pull-request@v3
59+
with:
60+
token: ${{ steps.generate-token.outputs.token }}
61+
commit-message: Update devDependencies
62+
title: "chore: Update devDependencies"
63+
labels: Dependencies
64+
branch: "Bump_devDependencies"

0 commit comments

Comments
 (0)