mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
Update template_initialization.yaml
This commit is contained in:
parent
bb7bae5ab3
commit
cdd42deb3d
1 changed files with 3 additions and 9 deletions
12
.github/workflows/template_initialization.yaml
vendored
12
.github/workflows/template_initialization.yaml
vendored
|
|
@ -1,10 +1,4 @@
|
||||||
on:
|
on: create
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
template_initialization:
|
template_initialization:
|
||||||
|
|
@ -20,7 +14,7 @@ jobs:
|
||||||
|
|
||||||
- name: Checks results
|
- name: Checks results
|
||||||
run: |
|
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"
|
echo $MODULE_NAME" is not a valid node module name"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
|
|
@ -52,7 +46,7 @@ jobs:
|
||||||
REPO_NAME: ${{ github.event.repository.name }}
|
REPO_NAME: ${{ github.event.repository.name }}
|
||||||
USER_OR_ORG: ${{ github.repository_owner }}
|
USER_OR_ORG: ${{ github.repository_owner }}
|
||||||
DESC: ${{ github.event.repository.description }}
|
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.
|
- name: Remove this workflow, it only needs to be run once.
|
||||||
run: rm .github/workflows/template_initialization.yaml
|
run: rm .github/workflows/template_initialization.yaml
|
||||||
- name: Commit files
|
- name: Commit files
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue