From 099071d3d2a0e064d623b1d28dee5893e12d674d Mon Sep 17 00:00:00 2001 From: "saimanohar.veeravajhula" Date: Mon, 30 Sep 2024 16:12:16 +0530 Subject: [PATCH] backend/test-ci-labeled --- .github/workflows/nix.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 65a7ff8..a2491f4 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -5,13 +5,17 @@ on: branches: ["main"] pull_request: branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + types: [labeled] workflow_dispatch: jobs: build: runs-on: x86_64-linux + if: ${{ github.event.label.name == 'backend' }} outputs: - docker-image-name: ${{ steps.docker.outputs.image_name }} + image_name: ${{ steps.image_info.outputs.image_name }} steps: - uses: actions/checkout@v4 - uses: cachix/cachix-action@v15