mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
ci: allow "FUTURE" PR title (#23064)
Allows to use `BREAKING` prefix in the PR title. This change will allow us to land PRs that change behavior with `DENO_FUTURE=1` env var, and prepare for Deno 2.0 release.
This commit is contained in:
parent
d043dd86f7
commit
bf9c57aeac
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ const validPrefixes = [
|
||||||
"Reland ",
|
"Reland ",
|
||||||
// Allow landing breaking changes that are properly marked
|
// Allow landing breaking changes that are properly marked
|
||||||
"BREAKING",
|
"BREAKING",
|
||||||
|
// Allow landing breaking changes that will be applied in Deno 2, or available
|
||||||
|
// immediately with DENO_FUTURE=1 env var
|
||||||
|
"FUTURE",
|
||||||
];
|
];
|
||||||
|
|
||||||
if (validPrefixes.some((prefix) => prTitle.startsWith(prefix))) {
|
if (validPrefixes.some((prefix) => prTitle.startsWith(prefix))) {
|
||||||
|
|
Loading…
Reference in a new issue