Skip to content

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

[GHA] Fix Files Size and OVC workflow concurrency (#37603)

Andrey Babushkind37a8799afff
diff --git a/.github/workflows/files_size.yml b/.github/workflows/files_size.yml
index d77de218283..bfa230dd5d0 100644
--- a/.github/workflows/files_size.yml
+++ b/.github/workflows/files_size.yml
@@ -1,5 +1,5 @@
name: Files Size
-on: [push, pull_request]
+on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
diff --git a/.github/workflows/ovc.yml b/.github/workflows/ovc.yml
index f725bd33e3d..f89dd07f646 100644
--- a/.github/workflows/ovc.yml
+++ b/.github/workflows/ovc.yml
@@ -19,7 +19,8 @@ on:
- ready_for_review
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ # github.ref is not unique in post-commit
+ group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-ovc
cancel-in-progress: true
permissions: read-all