Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GHA] Configurable event name for provider (#27035)

Alina Kladievae78f51870156
diff --git a/.github/actions/openvino_provider/action.yml b/.github/actions/openvino_provider/action.yml
index 31c49afd15b..dd1078bb0d4 100644
--- a/.github/actions/openvino_provider/action.yml
+++ b/.github/actions/openvino_provider/action.yml
@@ -9,6 +9,11 @@ inputs:
description: 'Branch of OpenVINO to take the revision from if no specific hash was provided.
Taken from github context by default'
required: false
+ event_name:
+ description: 'Even name from which artifacts were generated. "push" by default; overwrite it with "pull_request"
+ if revision/branch is from PR'
+ default: "push"
+ required: false
ov_artifact_name:
description: "Name under which to upload provided OpenVINO build artifacts, set automatically by default"
required: false
@@ -107,7 +112,7 @@ runs:
with:
platform: ${{ inputs.platform }}_${{ inputs.arch }}
storage_root: ${{ inputs.commit_share_path }}
- event_name: "commit"
+ event_name: ${{ inputs.event_name }}
trigger_repo_sha: ${{ env.OV_REVISION }}
branch_name: ${{ inputs.branch_name }}
to_restore: ${{ inputs.commit_packages_to_provide }}