From 4caadb11840ed2e8471a8327c294a1c2bf3d8587 Mon Sep 17 00:00:00 2001 From: BackNot Date: Mon, 9 Sep 2024 11:33:26 +0300 Subject: [PATCH] Added action to copy english model files --- .github/workflows/get-english-model.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/get-english-model.yml diff --git a/.github/workflows/get-english-model.yml b/.github/workflows/get-english-model.yml new file mode 100644 index 0000000..62a79c4 --- /dev/null +++ b/.github/workflows/get-english-model.yml @@ -0,0 +1,23 @@ + +name: Get English model files + +on: + workflow_dispatch: + inputs: + source_branch: + description: 'The core repository branch to pull translation YAML files from (e.g. develop)' + required: true + source_folder: + description: 'The folder in the core branch to pull translation YAML files from (e.g. model)' + required: true + new_branch_name: + description: 'The name of the new branch to create in this repository with the pulled files (e.g. trans_2.0.8)' + required: true + +jobs: + shared-workflow: + uses: owaspsamm/core/.github/workflows/reusable-create-translation-branch.yml@438ef84c34d08befb5cd413a3344d1e6e1f75e9e + with: + source_branch: ${{inputs.source_branch}} + source_folder: ${{inputs.source_folder}} + new_branch_name: ${{inputs.new_branch_name}} \ No newline at end of file