mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The dev-infra build tooling is now decoupled from `ng-dev`. This will make it easier to update `ng-dev` without necessarily needing to upgrade the whole build system, Bazel etc. This is useful when e.g. new release tool features have been added and should also be ported to active LTS branches. PR Close #46976
23 lines
1 KiB
TypeScript
23 lines
1 KiB
TypeScript
import {PullRequestConfig} from '@angular/ng-dev';
|
|
|
|
/**
|
|
* Configuration for the merge tool in `ng-dev`. This sets up the labels which
|
|
* are respected by the merge script (e.g. the target labels).
|
|
*/
|
|
export const pullRequest: PullRequestConfig = {
|
|
githubApiMerge: false,
|
|
mergeReadyLabel: 'action: merge',
|
|
caretakerNoteLabel: 'action: merge-assistance',
|
|
commitMessageFixupLabel: 'commit message fixup',
|
|
requiredBaseCommits: {
|
|
// PRs that target either `main` or the patch branch, need to be rebased
|
|
// on top of the latest commit message validation fix.
|
|
// These SHAs are the commits that update the required license text in the header.
|
|
'main': '5aeb9a4124922d8ac08eb73b8f322905a32b0b3a',
|
|
'10.0.x': '27b95ba64a5d99757f4042073fd1860e20e3ed24',
|
|
},
|
|
// `dev-infra` and `docs-infra` are not affecting the public NPM packages. Similarly,
|
|
// the `bazel` package is not considered part of the public API so that features
|
|
// can land in patch branches.
|
|
targetLabelExemptScopes: ['dev-infra', 'docs-infra', 'bazel'],
|
|
};
|