From 9e3b1fa7d6c5d278ef1d513cb5a016e887965d7d Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Sat, 16 Dec 2023 09:31:34 +0100 Subject: [PATCH] [GHA] Add openvino ref input to workflow_dispatch for coverity (#21704) 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 6de62ceff8a..206d80cd02f 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