1
0
Fork 0
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:
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

View file

@ -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))) {