[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).
This commit is contained in:
Alina Kladieva 2023-12-16 09:31:34 +01:00 committed by GitHub
parent 17fb201433
commit 9e3b1fa7d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,10 @@
name: Coverity (Ubuntu 20.04, Python 3.11) name: Coverity (Ubuntu 20.04, Python 3.11)
on: on:
workflow_dispatch: workflow_dispatch:
inputs:
openvinoRef:
description: 'Branch, tag or commit hash to clone openvino from. Taken from event context if not set'
type: string
schedule: schedule:
# run daily at 00:00 # run daily at 00:00
- cron: '0 0 * * *' - cron: '0 0 * * *'
@ -50,6 +54,7 @@ jobs:
with: with:
path: ${{ env.OPENVINO_REPO }} path: ${{ env.OPENVINO_REPO }}
submodules: 'true' submodules: 'true'
ref: ${{ inputs.openvinoRef }}
- name: Clone OpenVINO Contrib - name: Clone OpenVINO Contrib
uses: actions/checkout@v4 uses: actions/checkout@v4