Skip to content

Commit c8e304f

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on workflows
Added information on documentation
1 parent 3f37ed2 commit c8e304f

File tree

2 files changed

+91
-19
lines changed

2 files changed

+91
-19
lines changed

.dependabot/config.yml

+34-19
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,40 @@
22
# package ecosystems to update and where the package manifests are located.
33
# Please see the documentation for all configuration options:
44
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
version: 2
5+
version: 1
66

7-
updates:
8-
- package-ecosystem: "github-actions"
9-
open-pull-requests-limit: 2
7+
update_configs:
8+
# Keep package.json (& lockfiles) up to date as soon as
9+
# new versions are published to the npm registry
10+
- package_manager: "javascript"
1011
directory: "/"
11-
schedule:
12-
interval: "daily"
13-
time: "13:00"
14-
allow:
15-
- dependency-type: direct
16-
commit-message:
17-
prefix: "docs: dependency updates\n\nUpdates on dependencies"
18-
labels:
19-
- "dependencies"
20-
- ":robot: bot"
21-
assignees:
22-
- "AlexRogalskiy"
23-
reviewers:
24-
- "AlexRogalskiy"
12+
update_schedule: "live"
13+
allowed_updates:
14+
- match:
15+
dependency_type: "development"
16+
# Supported dependency types:
17+
# - "development"
18+
# Development dependency group (supported by some package managers)
19+
# - "production"
20+
# Production dependency group (supported by some package managers)
21+
# - "direct"
22+
# Direct/top-level dependencies
23+
# - "indirect"
24+
# Indirect/transient/sub-dependencies
25+
# - "all"
26+
update_type: "all"
27+
# Supported update types:
28+
# - "security"
29+
# - "all"
30+
- match:
31+
dependency_type: "production"
32+
update_type: "security"
2533

26-
update_configs:
34+
# Keep Dockerfile up to date, batching pull requests weekly
35+
- package_manager: "docker"
36+
directory: "/"
37+
update_schedule: "daily"
38+
39+
- package_manager: "python"
40+
directory: "/"
41+
update_schedule: "weekly"

.github/dependabot.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
open-pull-requests-limit: 5
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
time: "13:00"
10+
allow:
11+
- dependency-type: direct
12+
commit-message:
13+
prefix: "github-actions"
14+
labels:
15+
- "dependencies"
16+
- ":robot: bot"
17+
assignees:
18+
- "AlexRogalskiy"
19+
reviewers:
20+
- "octocat"
21+
- "AlexRogalskiy"
22+
23+
# Maintain dependencies for npm
24+
- package-ecosystem: "npm"
25+
open-pull-requests-limit: 10
26+
directory: "/"
27+
schedule:
28+
interval: "daily"
29+
time: "09:00"
30+
commit-message:
31+
# Prefix all commit messages with "npm"
32+
prefix: "npm"
33+
# Specify labels for npm pull requests
34+
labels:
35+
- "npm"
36+
- "dependencies"
37+
pull-request-branch-name:
38+
# Separate sections of the branch name with a hyphen
39+
# for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1`
40+
separator: "-"
41+
42+
- package-ecosystem: "pip"
43+
open-pull-requests-limit: 10
44+
directory: "/"
45+
schedule:
46+
interval: "daily"
47+
time: "16:00"
48+
commit-message:
49+
prefix: "pip prod"
50+
prefix-development: "pip dev"
51+
include: "scope"
52+
allow:
53+
# Allow both direct and indirect updates for all packages
54+
- dependency-type: "all"
55+
# Labels on pull requests for version updates only
56+
labels:
57+
- "pip dependencies"

0 commit comments

Comments
 (0)