Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Attempt to fix issue_response script (#24842)
Joseph T. Lyons5ac82161fa5a
diff --git a/.github/workflows/issue_response.yml b/.github/workflows/issue_response.ymlindex fa0f60d2c55..a2162f55015 100644--- a/.github/workflows/issue_response.yml+++ b/.github/workflows/issue_response.yml@@ -7,26 +7,27 @@ on:jobs:issue-response:+ if: github.repository_owner == 'zed-industries'runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0with:version: 9- name: Setup Node- uses: actions/setup-node@v4+ uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4with:node-version: "20"cache: "pnpm"- cache-dependency-path: "script/issues_needing_comments/pnpm-lock.yaml"+ cache-dependency-path: "script/issue_response/pnpm-lock.yaml"- - run: pnpm install --dir script/issues_needing_comments+ - run: pnpm install --dir script/issue_response- - name: Run Issue Response Script- run: pnpm run --dir script/issues_needing_comments ts-node main.ts+ - name: Run Issue Response+ run: pnpm exec ts-node script/issue_response/main.tsenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}SLACK_ISSUE_RESPONSE_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_RESPONSE_WEBHOOK_URL }}diff --git a/.gitignore b/.gitignoreindex 64744d6bd78..99a6184f564 100644--- a/.gitignore+++ b/.gitignore@@ -25,7 +25,7 @@/crates/zed/resources/flatpak/flatpak-cargo-sources.json/dev.zed.Zed*.json/plugins/bin-**/node_modules+/script/node_modules/zed.xcworkspaceDerivedData/Packagesdiff --git a/script/issues_response/.gitignore b/script/issues_response/.gitignorenew file mode 100644index 00000000000..c2658d7d1b3--- /dev/null+++ b/script/issues_response/.gitignore@@ -0,0 +1 @@+node_modules/diff --git a/script/issues_needing_comments/main.ts b/script/issues_response/main.tssimilarity index 100%rename from script/issues_needing_comments/main.tsrename to script/issues_response/main.tsdiff --git a/script/issues_needing_comments/package.json b/script/issues_response/package.jsonsimilarity index 78%rename from script/issues_needing_comments/package.jsonrename to script/issues_response/package.jsonindex 5a989b40e0a..8ef675c42bc 100644--- a/script/issues_needing_comments/package.json+++ b/script/issues_response/package.json@@ -7,6 +7,7 @@},"devDependencies": {"@octokit/types": "^13.8.0",- "@slack/types": "^2.14.0"+ "@slack/types": "^2.14.0",+ "ts-node": "^10.9.2"}}diff --git a/script/issues_needing_comments/pnpm-lock.yaml b/script/issues_response/pnpm-lock.yamlsimilarity index 77%rename from script/issues_needing_comments/pnpm-lock.yamlrename to script/issues_response/pnpm-lock.yamlindex b6761233157..93061cdef1e 100644--- a/script/issues_needing_comments/pnpm-lock.yaml+++ b/script/issues_response/pnpm-lock.yaml@@ -27,9 +27,26 @@ importers:'@slack/types':specifier: ^2.14.0version: 2.14.0+ ts-node:+ specifier: ^10.9.2+ version: 10.9.2(@types/[email protected])([email protected])packages:+ '@cspotcode/[email protected]':+ resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}+ engines: {node: '>=12'}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}+ engines: {node: '>=6.0.0'}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}+'@octokit/[email protected]':resolution: {integrity: sha512-6aKmKvqnJKoVK+kx0mLlBMKmQYoziPw4Rd/PWr0j65QVQlrDXlu6hGU8fmTXt7tNkf/DsubdIaTT4fkoWzCh5g==}engines: {node: '>= 18'}@@ -155,12 +172,36 @@ packages:resolution: {integrity: sha512-JDJte2dbJCcq1/GCMBYJH6fj+YS4n5GuPjT4tF3O1NPN6pFPCR9yA/apRh9sdfhdFG7hadiRgmiQqC4GLgNkZg==}engines: {node: '>= 18', npm: '>= 8.6.0'}+ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==}++ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}++ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==}++ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==}+'@types/[email protected]':resolution: {integrity: sha512-nD0Z9fNIZcxYX5Mai2CTmFD7wX7UldCkW2ezCF8D1T5hdiLsnTWDGRpfRYntU6VjTdLQjOvyszru7I1c1oCQew==}'@types/[email protected]':resolution: {integrity: sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==}+ resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==}+ engines: {node: '>=0.4.0'}++ resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==}+ engines: {node: '>=0.4.0'}+ hasBin: true++ resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}+resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}@@ -177,6 +218,9 @@ packages:resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}engines: {node: '>= 0.8'}+ resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}+resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}@@ -184,6 +228,10 @@ packages:resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}engines: {node: '>=0.4.0'}+ resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}+ engines: {node: '>=0.3.1'}+resolution: {integrity: sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==}@@ -200,6 +248,9 @@ packages:resolution: {integrity: sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}+resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}engines: {node: '>= 0.6'}@@ -219,6 +270,25 @@ packages:resolution: {integrity: sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==}engines: {node: '>=12'}+ resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}+ hasBin: true+ peerDependencies:+ '@swc/core': '>=1.2.50'+ '@swc/wasm': '>=1.2.50'+ '@types/node': '*'+ typescript: '>=2.7'+ peerDependenciesMeta:+ '@swc/core':+ optional: true+ '@swc/wasm':+ optional: true++ resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}+ engines: {node: '>=14.17'}+ hasBin: true+resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}@@ -228,8 +298,28 @@ packages:resolution: {integrity: sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==}+ resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}++ resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}+ engines: {node: '>=6'}+snapshots:+ '@cspotcode/[email protected]':+ dependencies:+ '@jridgewell/trace-mapping': 0.3.9++ '@jridgewell/[email protected]': {}++ '@jridgewell/[email protected]': {}++ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/resolve-uri': 3.1.2+ '@jridgewell/sourcemap-codec': 1.5.0+'@octokit/[email protected]':dependencies:'@octokit/auth-app': 7.1.4@@ -398,12 +488,28 @@ snapshots:transitivePeerDependencies:- debug+ '@tsconfig/[email protected]': {}++ '@tsconfig/[email protected]': {}++ '@tsconfig/[email protected]': {}++ '@tsconfig/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]':dependencies:undici-types: 6.20.0+ dependencies:+ acorn: 8.14.0++ [email protected]: {}++ [email protected]: {}+@@ -422,10 +528,14 @@ snapshots:dependencies:delayed-stream: 1.0.0+ [email protected]: {}++ [email protected]: {}+@@ -436,6 +546,8 @@ snapshots:combined-stream: 1.0.8mime-types: 2.1.35+ [email protected]: {}+@@ -459,8 +571,32 @@ snapshots:+ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.11+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.4+ '@types/node': 22.13.1+ acorn: 8.14.0+ acorn-walk: 8.3.4+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 5.7.3+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1++ [email protected]: {}+++ [email protected]: {}++ [email protected]: {}