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:
Bartek Iwańczuk 2024-03-25 00:15:12 +00:00 committed by GitHub
parent d043dd86f7
commit bf9c57aeac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ const validPrefixes = [
"Reland ",
// Allow landing breaking changes that are properly marked
"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))) {