2022-07-27 08:03:49 +00:00
|
|
|
import {PullRequestConfig} from '@angular/ng-dev';
|
2020-07-02 14:08:29 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 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).
|
|
|
|
|
*/
|
2021-10-04 10:25:27 -07:00
|
|
|
export const pullRequest: PullRequestConfig = {
|
2021-09-02 16:29:47 +02:00
|
|
|
githubApiMerge: false,
|
|
|
|
|
requiredBaseCommits: {
|
2022-04-21 13:45:42 +00:00
|
|
|
// PRs that target either `main` or the patch branch, need to be rebased
|
2021-09-02 16:29:47 +02:00
|
|
|
// on top of the latest commit message validation fix.
|
|
|
|
|
// These SHAs are the commits that update the required license text in the header.
|
2022-04-21 13:45:42 +00:00
|
|
|
'main': '5aeb9a4124922d8ac08eb73b8f322905a32b0b3a',
|
2021-09-02 16:29:47 +02:00
|
|
|
'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.
|
2022-02-26 21:59:18 +01:00
|
|
|
targetLabelExemptScopes: ['dev-infra', 'docs-infra', 'bazel'],
|
2020-07-02 14:08:29 +02:00
|
|
|
};
|