Skip to content

Commit 2d9d7b5

Browse files
committed
Add deps/deps-dev in lint rules for version upgrade PRs
1 parent c16cd40 commit 2d9d7b5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/lintcommit.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const types = new Set([
2424
"types",
2525
]);
2626

27-
const scopes = new Set(["sdk", "examples"]);
27+
const scopes = new Set(["sdk", "examples", "deps", "deps-dev"]);
2828

2929
/**
3030
* Checks that a pull request title, or commit message subject, follows the expected format:
@@ -143,7 +143,9 @@ function _test() {
143143
"types: add type definitions": undefined,
144144
"Merge staging into feature/lambda-get-started": undefined,
145145
"feat(foo): fix the types":
146-
'invalid scope "foo" (valid scopes are sdk, examples)',
146+
'invalid scope "foo" (valid scopes are sdk, examples, deps, deps-dev)',
147+
"chore(deps): bump the aws-sdk group with 5 updates": undefined,
148+
"chore(deps-dev): bump flatted from 3.4.1 to 3.4.2": undefined,
147149
};
148150

149151
let passed = 0;

0 commit comments

Comments
 (0)