summaryrefslogtreecommitdiff
path: root/tools/verify_pr_title.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-03-25 00:15:12 +0000
committerGitHub <noreply@github.com>2024-03-25 00:15:12 +0000
commitbf9c57aeac7c9d03a382cc7bfb54cc41ddaf1f27 (patch)
tree748855659b42fe2ec3496807594ff29c56f51686 /tools/verify_pr_title.js
parentd043dd86f73f93691c9d9032b38ac94ac16a8793 (diff)
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.
Diffstat (limited to 'tools/verify_pr_title.js')
-rw-r--r--tools/verify_pr_title.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/verify_pr_title.js b/tools/verify_pr_title.js
index db3f23061..3f7f7be03 100644
--- a/tools/verify_pr_title.js
+++ b/tools/verify_pr_title.js
@@ -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))) {