mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
ci: configure merge tool to enforce mandatory PR statuses (#59749)
The merge tool is currently hard-coded to only check `lint` as a required status. This was added because at some point the old GitHub robot was replaced with a so-called `unified-statuses` check GitHub action; but that one never worked/impacted productivity of the team. I've added support to the merge tool to require specific jobs/checks to run, before allowing merge (can be forcibly ignored). We are using this ability now to enforce a few "common" required jobs, as a safety measure when GitHub didn't trigger CI runs (e.g. for new contributors). This recently became a more prominent issue as the GitHub org enforces that CI doesn't run for e.g. first time contributors. PR Close #59749
This commit is contained in:
parent
3554dbccd1
commit
a8139f77ea
1 changed files with 8 additions and 0 deletions
|
|
@ -22,4 +22,12 @@ export const pullRequest: PullRequestConfig = {
|
|||
assertEnforceTested: true,
|
||||
assertIsolatedSeparateFiles: true,
|
||||
},
|
||||
|
||||
requiredStatuses: [
|
||||
{type: 'check', name: 'test'},
|
||||
{type: 'check', name: 'lint'},
|
||||
{type: 'check', name: 'adev'},
|
||||
{type: 'check', name: 'zone-js'},
|
||||
{type: 'status', name: 'google-internal-tests'},
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue