diff --git a/.github/workflows/release_trigger.yml b/.github/workflows/release_trigger.yml new file mode 100644 index 0000000..01a3b3a --- /dev/null +++ b/.github/workflows/release_trigger.yml @@ -0,0 +1,12 @@ +name: 🚀 Release Trigger + +on: + workflow_dispatch: + +jobs: + call-release-trigger: + uses: ynput/ops-repo-automation/.github/workflows/release_trigger.yml@main + secrets: + token: ${{ secrets.YNPUT_BOT_TOKEN }} + email: ${{ secrets.CI_EMAIL }} + user: ${{ secrets.CI_USER }} diff --git a/client/ayon_traypublisher/csv_publish.py b/client/ayon_traypublisher/csv_publish.py index b7906c5..0c44aeb 100644 --- a/client/ayon_traypublisher/csv_publish.py +++ b/client/ayon_traypublisher/csv_publish.py @@ -76,6 +76,7 @@ def csvpublish( pyblish_context = pyblish.api.Context() pyblish_context.data["create_context"] = create_context + targets = None # redefine targets (skip 'local' to disable validators) if ignore_validators: targets = ["default", "ingest"] diff --git a/client/ayon_traypublisher/plugins/create/create_csv_ingest.py b/client/ayon_traypublisher/plugins/create/create_csv_ingest.py index d1685a4..82dadf6 100644 --- a/client/ayon_traypublisher/plugins/create/create_csv_ingest.py +++ b/client/ayon_traypublisher/plugins/create/create_csv_ingest.py @@ -788,17 +788,28 @@ def _create_instances_from_csv_data(self, csv_dir: str, filename: str): ), None ) + slate_exists: bool = any( repre_item.slate_exists for repre_item in repre_items ) + is_reviewable: bool = any( + True + for repre_item in repre_items + if "review" in repre_item.tags + ) + families: List[str] = ["csv_ingest"] if slate_exists: # adding slate to families mainly for loaders to be able # to filter out slates families.append("slate") + if is_reviewable: + # review family needs to be added for ExtractReview plugin + families.append("review") + instance_data = { "name": product_item.instance_name, "folderPath": folder_path,