Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
danger: Check PR titles (#13053)
Marshall Bowers6c28b7e8b8f1
diff --git a/script/danger/dangerfile.ts b/script/danger/dangerfile.tsindex e8732fe9805..ced6e6eef71 100644--- a/script/danger/dangerfile.ts+++ b/script/danger/dangerfile.ts@@ -1,4 +1,12 @@import { danger, warn } from "danger";+const { prHygiene } = require("danger-plugin-pr-hygiene");++prHygiene({+ rules: {+ // Don't enable this rule just yet, as it can have false positives.+ useImperativeMood: "off",+ },+});const RELEASE_NOTES_PATTERN = new RegExp("Release Notes:\\r?\\n\\s+-", "gm");diff --git a/script/danger/package.json b/script/danger/package.jsonindex 345088a4d04..87b7017cdcc 100644--- a/script/danger/package.json+++ b/script/danger/package.json@@ -7,6 +7,7 @@"danger": "danger"},"devDependencies": {- "danger": "11.3.1"+ "danger": "11.3.1",+ "danger-plugin-pr-hygiene": "0.5.0"}}diff --git a/script/danger/pnpm-lock.yaml b/script/danger/pnpm-lock.yamlindex d83bf8b2eb3..0c62e6d327e 100644--- a/script/danger/pnpm-lock.yaml+++ b/script/danger/pnpm-lock.yaml@@ -11,6 +11,9 @@ importers:danger:specifier: 11.3.1version: 11.3.1+ danger-plugin-pr-hygiene:+ specifier: 0.5.0+ version: 0.5.0packages:@@ -158,6 +161,9 @@ packages:resolution: {integrity: sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==}+ resolution: {integrity: sha512-5z8vImexNVLG0V3LpGMp4RbMoU5Unjn9Na0Dv79gozYqgKJgIlaVRfxGTWxdJP0/TXO8NwDAQYdlwy+vqvfTsg==}+resolution: {integrity: sha512-+slkGnbf0czY7g4LSuYpYkKJgFrb9YIXFJvV5JAuLLF39CXLlUw0iebgeL3ASK1t6RDb8xe+Rk2F5ilh2Hdv2w==}engines: {node: '>=14.13.1'}@@ -232,6 +238,9 @@ packages:resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-v8J7ud+nTkP5Zz17GhpCsY19wiRbB9miuj61nBcCJyDpu52zs9Z4O7OLDfYoKFQMJ9EsSZA7W1vRgC1d3jy5qw==}+resolution: {integrity: sha512-cR/vflFyPZtrN6b38ZyWxpWdhlXrzZEBawlpBQMq7033xVY7/kg0GDMBK5jg8lDYQckdJ5x/YC88lM3C7VMsLg==}engines: {node: '>=0.10.0'}@@ -310,6 +319,11 @@ packages:resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}+ resolution: {integrity: sha512-RkQY06h6rRyADVEI46OCAUYTP2p18Vdtz9Movi19Mmj7SJ1NhN/yGyW7CxlcBVxh95WKg2YSbTmcUPqqeLuhXw==}+ peerDependencies:+ fp-ts: ^2.5.0+resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==}engines: {node: '>=0.10.0'}@@ -796,6 +810,11 @@ snapshots:+ dependencies:+ fp-ts: 2.12.2+ io-ts: 2.2.17([email protected])+dependencies:'@gitbeaker/core': 35.8.1@@ -896,6 +915,8 @@ snapshots:combined-stream: 1.0.8mime-types: 2.1.35+ [email protected]: {}+@@ -983,6 +1004,10 @@ snapshots:+ dependencies:+ fp-ts: 2.12.2+