Skip to content

Commit

Permalink
ci: disable fixup commit messages
Browse files Browse the repository at this point in the history
Fixup commit messages are not permitted in this repository. This update modifies the `ng-dev` commit message validator configuration to prevent such commits.

(cherry picked from commit 55f7d87)
  • Loading branch information
alan-agius4 committed Jan 10, 2025
1 parent fea422d commit f3bc2be
Show file tree
Hide file tree
Showing 5 changed files with 2,682 additions and 679 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-2023857461
package.json=600977484
pnpm-lock.yaml=1098191211
package.json=981583516
pnpm-lock.yaml=-156871509
pnpm-workspace.yaml=1711114604
yarn.lock=-1503170765
yarn.lock=1479673
1 change: 1 addition & 0 deletions .ng-dev/commit-message.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const commitMessage = {
maxLineLength: Infinity,
minBodyLength: 0,
minBodyLengthTypeExcludes: ['docs'],
disallowFixup: true,
// Note: When changing this logic, also change the `contributing.ejs` file.
scopes: packages.map(({ name }) => name),
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@angular/forms": "19.0.0",
"@angular/localize": "19.0.0",
"@angular/material": "19.0.0-rc.3",
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#8214e3156e6c9eb06089f7c50bec735a2cb73c3b",
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#2dde6a7f809c2928ab1c7b85afb7fec0c49beafc",
"@angular/platform-browser": "19.0.0",
"@angular/platform-browser-dynamic": "19.0.0",
"@angular/platform-server": "19.0.0",
Expand Down
Loading

0 comments on commit f3bc2be

Please sign in to comment.