From 0e783754647c1a2e5f173943bc18f7e91874260d Mon Sep 17 00:00:00 2001 From: msubrama Date: Mon, 18 Dec 2023 09:34:32 -0800 Subject: [PATCH] prevent trigger on edit and remove branch hardcoded value --- .github/workflows/xrt_ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/xrt_ci.yml b/.github/workflows/xrt_ci.yml index ef97c585461..4c41434e02b 100644 --- a/.github/workflows/xrt_ci.yml +++ b/.github/workflows/xrt_ci.yml @@ -1,14 +1,15 @@ name: XRT CI +on: + pull_request_target: + types: [opened, synchronize] + env: - RELEASE: '2024.1' + # RELEASE: '2023.2' + RELEASE: ${{ github.base_ref == 'master' && '2024.1' || github.base_ref }} PIPELINE: 'xrt' ENV: 'prod' -on: - pull_request_target: - types: [opened, edited, synchronize] - concurrency: group: ${{ github.event.pull_request.head.repo.full_name }}-${{ github.event.pull_request.head.ref }} cancel-in-progress: true