From 0ef1f48654d41da484cb6f95a4e3afc01d1052e5 Mon Sep 17 00:00:00 2001 From: Garrone Joseph Date: Wed, 4 Nov 2020 19:58:53 +0100 Subject: [PATCH] Update template_initialization.yaml --- .github/workflows/template_initialization.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/template_initialization.yaml b/.github/workflows/template_initialization.yaml index 3ce30ad..6af9716 100644 --- a/.github/workflows/template_initialization.yaml +++ b/.github/workflows/template_initialization.yaml @@ -1,5 +1,10 @@ -on: create - +on: + push: + branches: + - develop + pull_request: + branches: + - develop jobs: template_initialization: runs-on: ubuntu-latest @@ -14,7 +19,7 @@ jobs: - name: Checks results run: | - if [ "$IS_VALID_NODE_MODULE_NAME" = "false" ]; then + if [ "$IS_VALID_NODE_MODULE_NAME" = "true" ]; then echo $MODULE_NAME" is not a valid node module name" false fi