From b7a4bc87e6318ed6267cd861ea342dbc903ffe95 Mon Sep 17 00:00:00 2001 From: shiva kumar Date: Wed, 11 Dec 2024 19:17:15 +0530 Subject: [PATCH] dynamic holodeck ci instance name Signed-off-by: shiva kumar --- .github/workflows/precompiled.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 0353db59..78a3e6df 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -15,9 +15,20 @@ # Run this workflow on a schedule name: Precompiled images +# on: +# schedule: +# - cron: '00 09 * * *' # scheduled job + on: - schedule: - - cron: '00 09 * * *' + pull_request: + types: + - opened + - synchronize + branches: + - holodeckname + push: + branches: + - holodeckname jobs: set-driver-version-matrix: @@ -298,7 +309,7 @@ jobs: echo "DRIVER_BRANCHES=${DRIVER_BRANCHES[*]}" >> $GITHUB_ENV - name: Set up Holodeck - uses: NVIDIA/holodeck@v0.2.1 + uses: NVIDIA/holodeck@ci-dynamicname env: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}