Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Run Danger on its dedicated Namespace profile (#64632)

Conrad Irwinfbb313eb33cd
diff --git a/.github/actionlint.yml b/.github/actionlint.yml
index 3d16cf82788..bf60d2b8d8c 100644
--- a/.github/actionlint.yml
+++ b/.github/actionlint.yml
@@ -26,6 +26,7 @@ self-hosted-runner:
# Namespace Ubuntu 24.04 (like ubuntu-latest)
- namespace-profile-2x4-ubuntu-2404
- namespace-profile-8x32-ubuntu-2404
+ - namespace-profile-dangerbot
# Namespace Limited Preview
- namespace-profile-8x16-ubuntu-2004-arm-m4
- namespace-profile-8x32-ubuntu-2004-arm-m4
diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml
index 22ffdc6f345..badc3c766a8 100644
--- a/.github/workflows/danger.yml
+++ b/.github/workflows/danger.yml
@@ -16,7 +16,7 @@ permissions:
jobs:
danger:
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions')
- runs-on: namespace-profile-2x4-ubuntu-2404
+ runs-on: namespace-profile-dangerbot
steps:
- name: steps::checkout_repo
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
diff --git a/tooling/xtask/src/tasks/workflows/danger.rs b/tooling/xtask/src/tasks/workflows/danger.rs
index 564abf3b30b..97b2a271ec7 100644
--- a/tooling/xtask/src/tasks/workflows/danger.rs
+++ b/tooling/xtask/src/tasks/workflows/danger.rs
@@ -43,7 +43,7 @@ fn danger_job() -> NamedJob {
name: "danger".to_string(),
job: Job::default()
.with_repository_owner_guard()
- .runs_on(runners::LINUX_SMALL)
+ .runs_on(runners::DANGERBOT)
.add_step(steps::checkout_repo())
.add_step(steps::setup_pnpm())
.add_step(
diff --git a/tooling/xtask/src/tasks/workflows/runners.rs b/tooling/xtask/src/tasks/workflows/runners.rs
index 82dbbe7a7ac..883298b915a 100644
--- a/tooling/xtask/src/tasks/workflows/runners.rs
+++ b/tooling/xtask/src/tasks/workflows/runners.rs
@@ -1,3 +1,5 @@
+pub const DANGERBOT: Runner = Runner("namespace-profile-dangerbot");
+
pub const LINUX_SMALL: Runner = Runner("namespace-profile-2x4-ubuntu-2404");
pub const LINUX_DEFAULT: Runner = LINUX_XL;
pub const LINUX_XL: Runner = Runner("namespace-profile-16x32-ubuntu-2204");