Skip to content

Commit 70caefb

Browse files
committed
Validate the Dependabot config during CI linting
1 parent af75efa commit 70caefb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/dependabot.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Dependabot configuration file
2+
# Validate with: check-jsonschema --schemafile https://json.schemastore.org/dependabot-2.0.json .github/dependabot.yml
13
version: 2
24
updates:
35
- package-ecosystem: "pip" # See documentation for possible values
@@ -11,13 +13,11 @@ updates:
1113
- dependency-name: "apache-libcloud"
1214
- dependency-name: "google-cloud-storage"
1315
- dependency-name: "google-auth"
14-
# Don't constantly rebase all the dependency bump PRs whenever anything else
15-
# merges; this causes too many CI runs.
16-
rebase-strategy: ignore
16+
rebase-strategy: disabled
1717
- package-ecosystem: "github-actions"
1818
directory: "/"
1919
schedule:
2020
interval: "weekly"
21-
rebase-strategy: ignore
21+
rebase-strategy: disabled
2222

2323

.gitlab-ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ lint:
7171
- ${MAIN_PYTHON_PKG} --version
7272
- make mypy
7373
- make docs
74+
- check-jsonschema --schemafile https://json.schemastore.org/dependabot-2.0.json .github/dependabot.yml
7475
# - make diff_pydocstyle_report
7576

7677
cwl_dependency_is_stand_alone:

requirements-dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ docutils>=0.16,<0.22
3131
pyupgrade
3232
pytest-xdist
3333
build
34+
check-jsonschema

0 commit comments

Comments
 (0)