diff --git a/.github/workflows/template_initialization.yaml b/.github/workflows/template_initialization.yaml index 65db0dc..3ce30ad 100644 --- a/.github/workflows/template_initialization.yaml +++ b/.github/workflows/template_initialization.yaml @@ -1,10 +1,4 @@ -on: - push: - branches: - - develop - pull_request: - branches: - - develop +on: create jobs: template_initialization: @@ -20,7 +14,7 @@ jobs: - name: Checks results run: | - if [ "$IS_VALID_NODE_MODULE_NAME" = "true" ]; then + if [ "$IS_VALID_NODE_MODULE_NAME" = "false" ]; then echo $MODULE_NAME" is not a valid node module name" false fi @@ -52,7 +46,7 @@ jobs: REPO_NAME: ${{ github.event.repository.name }} USER_OR_ORG: ${{ github.repository_owner }} DESC: ${{ github.event.repository.description }} - REPO_NAME_NO_DASHES: ${{ steps.id2.outputs.replace_resultĀ }} + REPO_NAME_NO_DASHES: ${{ steps.id2.outputs.replace_result }} - name: Remove this workflow, it only needs to be run once. run: rm .github/workflows/template_initialization.yaml - name: Commit files