From 94132450e869480935cccfe174842e63139dd29f Mon Sep 17 00:00:00 2001 From: David Date: Mon, 4 Dec 2023 09:26:09 +0700 Subject: [PATCH] [#498] Change workflows folder --- .../automatic_pull_request_review.yml | 0 .../project_workflows}/deploy_app_store.yml | 0 .../project_workflows}/deploy_production_firebase.yml | 0 .../project_workflows}/deploy_staging_firebase.yml | 0 .../project_workflows}/draft_a_new_release.yml | 0 .../project_workflows}/publish_docs_to_wiki.yml | 0 .../automatic_pull_request_review.yml | 0 .../deploy_app_store.yml | 0 .../deploy_production_firebase.yml | 0 .../deploy_staging_firebase.yml | 0 .../draft_a_new_release.yml | 0 .../publish_docs_to_wiki.yml | 0 .../Sources/iOSTemplateMaker/SetUpCICDService.swift | 10 +++++----- 13 files changed, 5 insertions(+), 5 deletions(-) rename {project_workflows => .github/project_workflows}/automatic_pull_request_review.yml (100%) rename {project_workflows => .github/project_workflows}/deploy_app_store.yml (100%) rename {project_workflows => .github/project_workflows}/deploy_production_firebase.yml (100%) rename {project_workflows => .github/project_workflows}/deploy_staging_firebase.yml (100%) rename {project_workflows => .github/project_workflows}/draft_a_new_release.yml (100%) rename {project_workflows => .github/project_workflows}/publish_docs_to_wiki.yml (100%) rename {self_hosted_project_workflows => .github/self_hosted_project_workflows}/automatic_pull_request_review.yml (100%) rename {self_hosted_project_workflows => .github/self_hosted_project_workflows}/deploy_app_store.yml (100%) rename {self_hosted_project_workflows => .github/self_hosted_project_workflows}/deploy_production_firebase.yml (100%) rename {self_hosted_project_workflows => .github/self_hosted_project_workflows}/deploy_staging_firebase.yml (100%) rename {self_hosted_project_workflows => .github/self_hosted_project_workflows}/draft_a_new_release.yml (100%) rename {self_hosted_project_workflows => .github/self_hosted_project_workflows}/publish_docs_to_wiki.yml (100%) diff --git a/project_workflows/automatic_pull_request_review.yml b/.github/project_workflows/automatic_pull_request_review.yml similarity index 100% rename from project_workflows/automatic_pull_request_review.yml rename to .github/project_workflows/automatic_pull_request_review.yml diff --git a/project_workflows/deploy_app_store.yml b/.github/project_workflows/deploy_app_store.yml similarity index 100% rename from project_workflows/deploy_app_store.yml rename to .github/project_workflows/deploy_app_store.yml diff --git a/project_workflows/deploy_production_firebase.yml b/.github/project_workflows/deploy_production_firebase.yml similarity index 100% rename from project_workflows/deploy_production_firebase.yml rename to .github/project_workflows/deploy_production_firebase.yml diff --git a/project_workflows/deploy_staging_firebase.yml b/.github/project_workflows/deploy_staging_firebase.yml similarity index 100% rename from project_workflows/deploy_staging_firebase.yml rename to .github/project_workflows/deploy_staging_firebase.yml diff --git a/project_workflows/draft_a_new_release.yml b/.github/project_workflows/draft_a_new_release.yml similarity index 100% rename from project_workflows/draft_a_new_release.yml rename to .github/project_workflows/draft_a_new_release.yml diff --git a/project_workflows/publish_docs_to_wiki.yml b/.github/project_workflows/publish_docs_to_wiki.yml similarity index 100% rename from project_workflows/publish_docs_to_wiki.yml rename to .github/project_workflows/publish_docs_to_wiki.yml diff --git a/self_hosted_project_workflows/automatic_pull_request_review.yml b/.github/self_hosted_project_workflows/automatic_pull_request_review.yml similarity index 100% rename from self_hosted_project_workflows/automatic_pull_request_review.yml rename to .github/self_hosted_project_workflows/automatic_pull_request_review.yml diff --git a/self_hosted_project_workflows/deploy_app_store.yml b/.github/self_hosted_project_workflows/deploy_app_store.yml similarity index 100% rename from self_hosted_project_workflows/deploy_app_store.yml rename to .github/self_hosted_project_workflows/deploy_app_store.yml diff --git a/self_hosted_project_workflows/deploy_production_firebase.yml b/.github/self_hosted_project_workflows/deploy_production_firebase.yml similarity index 100% rename from self_hosted_project_workflows/deploy_production_firebase.yml rename to .github/self_hosted_project_workflows/deploy_production_firebase.yml diff --git a/self_hosted_project_workflows/deploy_staging_firebase.yml b/.github/self_hosted_project_workflows/deploy_staging_firebase.yml similarity index 100% rename from self_hosted_project_workflows/deploy_staging_firebase.yml rename to .github/self_hosted_project_workflows/deploy_staging_firebase.yml diff --git a/self_hosted_project_workflows/draft_a_new_release.yml b/.github/self_hosted_project_workflows/draft_a_new_release.yml similarity index 100% rename from self_hosted_project_workflows/draft_a_new_release.yml rename to .github/self_hosted_project_workflows/draft_a_new_release.yml diff --git a/self_hosted_project_workflows/publish_docs_to_wiki.yml b/.github/self_hosted_project_workflows/publish_docs_to_wiki.yml similarity index 100% rename from self_hosted_project_workflows/publish_docs_to_wiki.yml rename to .github/self_hosted_project_workflows/publish_docs_to_wiki.yml diff --git a/Scripts/Swift/iOSTemplateMaker/Sources/iOSTemplateMaker/SetUpCICDService.swift b/Scripts/Swift/iOSTemplateMaker/Sources/iOSTemplateMaker/SetUpCICDService.swift index 2c40edbc..7036d404 100644 --- a/Scripts/Swift/iOSTemplateMaker/Sources/iOSTemplateMaker/SetUpCICDService.swift +++ b/Scripts/Swift/iOSTemplateMaker/Sources/iOSTemplateMaker/SetUpCICDService.swift @@ -50,12 +50,12 @@ struct SetUpCICDService { if runnerType == "s" { fileManager.replaceAllOccurrences(of: CONSTANT_RUNNER_TYPE, to: runnerName) fileManager.moveFiles(in: "self_hosted_project_workflows", to: ".github/workflows") - fileManager.removeItems(in: "project_workflows") - fileManager.removeItems(in: "self_hosted_project_workflows") + fileManager.removeItems(in: ".github/project_workflows") + fileManager.removeItems(in: ".github/self_hosted_project_workflows") } else { - fileManager.moveFiles(in: "project_workflows", to: ".github/workflows") - fileManager.removeItems(in: "project_workflows") - fileManager.removeItems(in: "project_workflows") + fileManager.moveFiles(in: ".github/project_workflows", to: ".github/workflows") + fileManager.removeItems(in: ".github/project_workflows") + fileManager.removeItems(in: ".github/self_hosted_project_workflows") } case .bitrise: print("Setting template for Bitrise")