Skip to content

Commit ca1d777

Browse files
authored
Merge pull request #370 from credebl/Feat/dependbot-yaml
Feat: Added Dependbot
2 parents 21b0336 + 32e53ce commit ca1d777

2 files changed

Lines changed: 63 additions & 2 deletions

File tree

.github/dependabot.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# .github/dependabot.yml
2+
3+
version: 2
4+
5+
updates:
6+
# =========================
7+
# Yarn Dependencies (via npm ecosystem)
8+
# =========================
9+
- package-ecosystem: 'npm' # ← use "npm", not "yarn"
10+
directory: '/' # or "/client" if package.json is inside a subfolder
11+
target-branch: 'main' # always open PRs against main
12+
schedule:
13+
interval: 'weekly'
14+
day: 'monday'
15+
time: '09:00'
16+
timezone: 'Asia/Kolkata'
17+
open-pull-requests-limit: 10
18+
19+
groups:
20+
minor-updates:
21+
patterns:
22+
- '*'
23+
update-types:
24+
- 'minor'
25+
26+
allow:
27+
- dependency-type: 'all'
28+
29+
labels:
30+
- 'dependencies'
31+
- 'yarn' # you can keep this label for clarity
32+
33+
commit-message:
34+
prefix: 'chore'
35+
include: 'scope'
36+
37+
# =========================
38+
# GitHub Actions
39+
# =========================
40+
- package-ecosystem: 'github-actions'
41+
directory: '/'
42+
target-branch: 'main' # always open PRs against main
43+
schedule:
44+
interval: 'weekly'
45+
day: 'monday'
46+
time: '09:00'
47+
timezone: 'Asia/Kolkata'
48+
49+
labels:
50+
- 'dependencies'
51+
- 'github-actions'
52+
53+
commit-message:
54+
prefix: 'ci'
55+
56+
groups:
57+
minor-updates:
58+
patterns:
59+
- '*'
60+
update-types:
61+
- 'minor'

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Builder stage
2-
FROM node:22.22.0 AS builder
2+
FROM node:22.22.2 AS builder
33

44
WORKDIR /app
55

@@ -19,7 +19,7 @@ RUN yarn global add patch-package
1919
RUN yarn build
2020

2121
# Stage 2: Production stage
22-
FROM node:22.22.0-slim
22+
FROM node:22.22.2-slim
2323

2424
# Update system packages and install security updates
2525
RUN apt-get update && apt-get upgrade -y && \

0 commit comments

Comments
 (0)