From ee414630388bad140c9d7bc6251efed39a34a17f Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Thu, 5 Feb 2026 13:06:01 +0100 Subject: [PATCH] ci: Move more jobs to Namespace runners (#48228) This moves some more of our CI jobs over to xtask and gh-workflow. This primarily originated from the current GitHub actions outage to move these actions over to Namespace runners. However, while I was at it I decided to move these over to gh_workflow, as we benefit from sharing more stuff across these files and less hacking around in YAML-files directly. Release Notes: - N/A --- .../workflows/add_commented_closed_issue_to_project.yml | 2 +- .github/workflows/catch_blank_issues.yml | 2 +- .github/workflows/community_champion_auto_labeler.yml | 2 +- .github/workflows/community_close_stale_issues.yml | 2 +- .../workflows/community_update_all_top_ranking_issues.yml | 2 +- .../community_update_weekly_top_ranking_issues.yml | 2 +- .github/workflows/congrats.yml | 2 +- .github/workflows/docs_automation.yml | 8 ++++---- .github/workflows/first_contribution_labeler.yml | 2 +- .github/workflows/good_first_issue_notifier.yml | 2 +- .github/workflows/slack_notify_first_responders.yml | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/add_commented_closed_issue_to_project.yml b/.github/workflows/add_commented_closed_issue_to_project.yml index eed898799c71823c513fbf1b31670243fe3f1007..02bd766c92fce5dd399459845ef911c8dc9481d0 100644 --- a/.github/workflows/add_commented_closed_issue_to_project.yml +++ b/.github/workflows/add_commented_closed_issue_to_project.yml @@ -17,7 +17,7 @@ jobs: github.event.issue.type != null && github.event.issue.type.name == 'Bug' && github.event.comment.user.type != 'Bot' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 timeout-minutes: 5 steps: - id: get-app-token diff --git a/.github/workflows/catch_blank_issues.yml b/.github/workflows/catch_blank_issues.yml index 1fb69d7aa35e409c182c5125cc9dccc48d38f875..dd425afc886e86c1217a94e90eabced013f66bf0 100644 --- a/.github/workflows/catch_blank_issues.yml +++ b/.github/workflows/catch_blank_issues.yml @@ -12,7 +12,7 @@ permissions: jobs: add-triage-label: if: github.repository == 'zed-industries/zed' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 timeout-minutes: 5 steps: - id: get-app-token diff --git a/.github/workflows/community_champion_auto_labeler.yml b/.github/workflows/community_champion_auto_labeler.yml index 951919c3fd1d12a1dc76fc607f255d77ae957aac..8d54b7e6106d0b48d90f025242f7901441b81732 100644 --- a/.github/workflows/community_champion_auto_labeler.yml +++ b/.github/workflows/community_champion_auto_labeler.yml @@ -9,7 +9,7 @@ on: jobs: label_community_champion: if: github.repository_owner == 'zed-industries' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 steps: - name: Check if author is a community champion and apply label uses: actions/github-script@v7 diff --git a/.github/workflows/community_close_stale_issues.yml b/.github/workflows/community_close_stale_issues.yml index 8bf21ec498ca22f180daaca596d2375be9e5b9ce..a9755703169b49c77cc6e3ad85080604daac9920 100644 --- a/.github/workflows/community_close_stale_issues.yml +++ b/.github/workflows/community_close_stale_issues.yml @@ -16,7 +16,7 @@ on: jobs: stale: if: github.repository_owner == 'zed-industries' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 steps: - uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10 with: diff --git a/.github/workflows/community_update_all_top_ranking_issues.yml b/.github/workflows/community_update_all_top_ranking_issues.yml index 66b1873b9594fe7536749a0864e0a0ae33feb078..59926f35563a4b21e3486ecbd454a4ccf951461e 100644 --- a/.github/workflows/community_update_all_top_ranking_issues.yml +++ b/.github/workflows/community_update_all_top_ranking_issues.yml @@ -7,7 +7,7 @@ on: jobs: update_top_ranking_issues: - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 if: github.repository == 'zed-industries/zed' steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 diff --git a/.github/workflows/community_update_weekly_top_ranking_issues.yml b/.github/workflows/community_update_weekly_top_ranking_issues.yml index e1514da7167d0cf521733cd4b4a12c0b5bac7b7b..75ba66b934b5861bd51aef4238a1a4188dddefc3 100644 --- a/.github/workflows/community_update_weekly_top_ranking_issues.yml +++ b/.github/workflows/community_update_weekly_top_ranking_issues.yml @@ -7,7 +7,7 @@ on: jobs: update_top_ranking_issues: - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 if: github.repository == 'zed-industries/zed' steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 diff --git a/.github/workflows/congrats.yml b/.github/workflows/congrats.yml index efd9812d8070f48fb64c78440a9e1c934ee8cbde..6a4111a1c5b5143ee9be067911207d5b4ca1448c 100644 --- a/.github/workflows/congrats.yml +++ b/.github/workflows/congrats.yml @@ -7,7 +7,7 @@ on: jobs: check-author: if: ${{ github.repository_owner == 'zed-industries' }} - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 outputs: should_congratulate: ${{ steps.check.outputs.should_congratulate }} steps: diff --git a/.github/workflows/docs_automation.yml b/.github/workflows/docs_automation.yml index 46dcfa56616c24a78f61e075d3e1a7909655b8aa..f9c2a7d5093c86593b41595b18eaa03dceed08f4 100644 --- a/.github/workflows/docs_automation.yml +++ b/.github/workflows/docs_automation.yml @@ -9,11 +9,11 @@ on: workflow_dispatch: inputs: pr_number: - description: 'PR number to analyze (gets full PR diff)' + description: "PR number to analyze (gets full PR diff)" required: false type: string trigger_sha: - description: 'Commit SHA to analyze (ignored if pr_number is set)' + description: "Commit SHA to analyze (ignored if pr_number is set)" required: false type: string @@ -27,7 +27,7 @@ env: jobs: docs-automation: - runs-on: ubuntu-latest + runs-on: namespace-profile-8x32-ubuntu-2404 timeout-minutes: 30 steps: @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js (for Prettier) uses: actions/setup-node@v4 with: - node-version: '20' + node-version: "20" - name: Install Prettier run: npm install -g prettier diff --git a/.github/workflows/first_contribution_labeler.yml b/.github/workflows/first_contribution_labeler.yml index 5dc47c4eef5cde084fc89de6aee85bb416ed1532..9831441f910be585f9a903b47addeff633827dce 100644 --- a/.github/workflows/first_contribution_labeler.yml +++ b/.github/workflows/first_contribution_labeler.yml @@ -10,7 +10,7 @@ permissions: jobs: label_first_contribution: if: github.repository == 'zed-industries/zed' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 timeout-minutes: 5 steps: - id: get-app-token diff --git a/.github/workflows/good_first_issue_notifier.yml b/.github/workflows/good_first_issue_notifier.yml index ae963689c42a35dcba1435cf6898e61cf6592fe0..f366c671726348f605325576d65e13c6faa5616e 100644 --- a/.github/workflows/good_first_issue_notifier.yml +++ b/.github/workflows/good_first_issue_notifier.yml @@ -7,7 +7,7 @@ on: jobs: handle-good-first-issue: if: github.event.label.name == '.contrib/good first issue' && github.repository_owner == 'zed-industries' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 steps: - name: Checkout repository diff --git a/.github/workflows/slack_notify_first_responders.yml b/.github/workflows/slack_notify_first_responders.yml index ed903a321c52b2d69ec99bd0825a28040b98aa03..f296f3cb84a49f99ad84c7e261b66b82b90b94bc 100644 --- a/.github/workflows/slack_notify_first_responders.yml +++ b/.github/workflows/slack_notify_first_responders.yml @@ -10,7 +10,7 @@ env: jobs: notify-slack: if: github.repository_owner == 'zed-industries' - runs-on: ubuntu-latest + runs-on: namespace-profile-2x4-ubuntu-2404 steps: - name: Check if label requires first responder notification