From 9c5096177e69167caad4d3db557fc06d146a5325 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Underhaug Date: Thu, 8 Aug 2024 13:36:48 +0200 Subject: [PATCH 1/2] JI-6504 Add reusable workflow trigger for translations --- .github/workflows/ci-workflows.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/ci-workflows.yml diff --git a/.github/workflows/ci-workflows.yml b/.github/workflows/ci-workflows.yml new file mode 100644 index 00000000..a545855d --- /dev/null +++ b/.github/workflows/ci-workflows.yml @@ -0,0 +1,14 @@ +name: CI + +on: + workflow_dispatch: + pull_request: + branches: + - main + types: [opened, synchronize] # Triggers on PR open and commits to PR + +jobs: + ci: + uses: h5p/h5p-ci-workflows/.github/workflows/h5p-ci-workflow.yml@master + with: + run-translations: true \ No newline at end of file From 1395119eed742bbdd05374565fb137e77d4a340e Mon Sep 17 00:00:00 2001 From: Lars-Magnus Underhaug Date: Thu, 8 Aug 2024 13:37:41 +0200 Subject: [PATCH 2/2] JI-6504 Update trigger branch name --- .github/workflows/ci-workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-workflows.yml b/.github/workflows/ci-workflows.yml index a545855d..eabaccfb 100644 --- a/.github/workflows/ci-workflows.yml +++ b/.github/workflows/ci-workflows.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: pull_request: branches: - - main + - master types: [opened, synchronize] # Triggers on PR open and commits to PR jobs: