Skip to content

Commit df8a05a

Browse files
committed
update .github
1 parent dd096b6 commit df8a05a

File tree

3 files changed

+47
-3
lines changed

3 files changed

+47
-3
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+
open-pull-requests-limit: 0
8+
allow:
9+
- dependency-type: "direct"
10+
update-types: "security"
11+
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"
16+
open-pull-requests-limit: 0
17+
allow:
18+
- dependency-type: "direct"
19+
update-types: "security"

.github/renovate.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"dependencyDashboard": true,
7+
"dependencyDashboardTitle": "Dependency Update Report",
8+
"dryRun": "lookup",
9+
"printConfig": true,
10+
"onboarding": false,
11+
"requireConfig": "optional",
12+
"updateNotScheduled": false,
13+
"packageRules": [
14+
{
15+
"matchUpdateTypes": ["minor", "patch"],
16+
"matchCurrentVersion": "!/^0/",
17+
"automerge": false
18+
}
19+
],
20+
"schedule": ["every weekend"],
21+
"prHourlyLimit": 0,
22+
"prConcurrentLimit": 0
23+
}

.github/workflows/personal_build_push.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Personal Build and Push
23
on:
34
push:
@@ -7,15 +8,14 @@ on:
78

89
jobs:
910
build_n_push:
10-
if: github.repository != 'netbirdio/dashboard'
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
1414

1515
- name: setup-node
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: '18'
18+
node-version: 'lts/*'
1919
cache: 'npm'
2020

2121
- name: Install dependencies
@@ -49,6 +49,8 @@ jobs:
4949
name: Docker build and push
5050
uses: docker/build-push-action@v3
5151
with:
52+
cache-from: type=gha
53+
cache-to: type=gha,mode=max
5254
context: .
5355
file: docker/Dockerfile
5456
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)