From 1cc97b5674a3031fc6ed47059603894dbad12923 Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Fri, 15 Dec 2023 23:05:07 +0100 Subject: [PATCH] [GHA] Add openvino ref input to workflow_dispatch for coverity Needed to be able to run coverity on a specific commit from nightly, like we did in Azure (workflow_dispatch doesn't support running workflow from sha by default). --- .github/workflows/coverity.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 6de62ceff8a869..206d80cd02f0af 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -1,6 +1,10 @@ name: Coverity (Ubuntu 20.04, Python 3.11) on: workflow_dispatch: + inputs: + openvinoRef: + description: 'Branch, tag or commit hash to clone openvino from. Taken from event context if not set' + type: string schedule: # run daily at 00:00 - cron: '0 0 * * *' @@ -50,6 +54,7 @@ jobs: with: path: ${{ env.OPENVINO_REPO }} submodules: 'true' + ref: ${{ inputs.openvinoRef }} - name: Clone OpenVINO Contrib uses: actions/checkout@v4