From c846bd04ed2788b5198744d2f6c282030fde06b0 Mon Sep 17 00:00:00 2001 From: Yonas Tewabe Date: Mon, 13 Jul 2026 10:20:16 +0300 Subject: [PATCH] Simplify runs-on property in deploy workflow Updated the 'runs-on' property to use 'self-hosted' directly for both jobs. --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 62530611c..8ccfea54b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ permissions: jobs: detect-changes: name: Detect changed services - runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', github.ref_name)) }} + runs-on:self-hosted outputs: matrix: ${{ steps.filter.outputs.matrix }} steps: @@ -91,7 +91,7 @@ jobs: name: Deploy ${{ matrix.service }} needs: detect-changes if: ${{ needs.detect-changes.outputs.matrix != '[]' }} - runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', github.ref_name)) }} + runs-on: self-hosted strategy: fail-fast: false matrix: