Skip to content

Commit 12f1942

Browse files
authored
dependabot: only do security updates (#457)
1 parent e62f655 commit 12f1942

File tree

2 files changed

+7
-21
lines changed

2 files changed

+7
-21
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "npm"
9-
directory: "/"
10-
commit-message:
11-
prefix: "chore(deps): "
12-
rebase-strategy: "disabled"
3+
- package-ecosystem: 'npm'
4+
directory: '/'
5+
rebase-strategy: 'disabled'
136
schedule:
14-
interval: "daily"
15-
ignore:
16-
- dependency-name: "*"
17-
update-types: ["version-update:semver-patch", "version-update:semver-minor"] # Security updates are unaffected by this setting
18-
19-
- package-ecosystem: "npm"
20-
directory: "/example-app"
7+
interval: 'daily'
218
commit-message:
22-
prefix: "chore(deps): "
23-
schedule:
24-
interval: "monthly"
9+
prefix: 'security: '
10+
open-pull-requests-limit: 0 # only check security updates

tests/e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ describe('E2E tests', function () {
160160
if (LABELS && service) {
161161
const expected = JSON.parse(LABELS);
162162
const actual = service?.spec?.template?.metadata?.labels;
163-
expect(actual).to.deep.eq(expected);
163+
expect(actual).to.deep.include(expected);
164164
}
165165
});
166166

0 commit comments

Comments
 (0)