[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:
parent
17fb201433
commit
9e3b1fa7d6
5
.github/workflows/coverity.yml
vendored
5
.github/workflows/coverity.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user