Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ci: Improve Danger and ci.yml explicitness (#31979)
Peter Trippe7de80c6aeba
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 927d9682e67..0f9414d2ea0 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -73,7 +73,7 @@ jobs:timeout-minutes: 60runs-on:- self-hosted- - test+ - macOSsteps:- name: Checkout repouses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4@@ -200,7 +200,7 @@ jobs:needs.job_spec.outputs.run_tests == 'true'runs-on:- self-hosted- - test+ - macOSsteps:- name: Checkout repouses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4diff --git a/.github/workflows/deploy_collab.yml b/.github/workflows/deploy_collab.ymlindex eb5875afccf..cfd455f9209 100644--- a/.github/workflows/deploy_collab.yml+++ b/.github/workflows/deploy_collab.yml@@ -15,7 +15,7 @@ jobs:if: github.repository_owner == 'zed-industries'runs-on:- self-hosted- - test+ - macOSsteps:- name: Checkout repouses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4@@ -33,7 +33,7 @@ jobs:name: Run testsruns-on:- self-hosted- - test+ - macOSneeds: stylesteps:- name: Checkout repodiff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.ymlindex d4f8309e783..f6512bc678c 100644--- a/.github/workflows/release_nightly.yml+++ b/.github/workflows/release_nightly.yml@@ -20,7 +20,7 @@ jobs:if: github.repository_owner == 'zed-industries'runs-on:- self-hosted- - test+ - macOSsteps:- name: Checkout repouses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4@@ -40,7 +40,7 @@ jobs:if: github.repository_owner == 'zed-industries'runs-on:- self-hosted- - test+ - macOSneeds: stylesteps:- name: Checkout repodiff --git a/script/danger/dangerfile.ts b/script/danger/dangerfile.tsindex 56441bea204..9f3790b1bec 100644--- a/script/danger/dangerfile.ts+++ b/script/danger/dangerfile.ts@@ -38,7 +38,7 @@ if (!hasReleaseNotes) {}const ISSUE_LINK_PATTERN =- /(?<!(?:Close[sd]?|Fixe[sd]|Resolve[sd]|Implement[sed]|Follow-up of|Part of)\s+)https:\/\/github\.com\/[\w-]+\/[\w-]+\/issues\/\d+/gi;+ /(?:- )?(?<!(?:Close[sd]?|Fixe[sd]|Resolve[sd]|Implement[sed]|Follow-up of|Part of):?\s+)https:\/\/github\.com\/[\w-]+\/[\w-]+\/issues\/\d+/gi;const bodyWithoutReleaseNotes = hasReleaseNotes ? body.split(/Release Notes:/)[0] : body;const includesIssueUrl = ISSUE_LINK_PATTERN.test(bodyWithoutReleaseNotes);