mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
update
This commit is contained in:
parent
8c2c9c07ce
commit
574f3ab56b
1 changed files with 33 additions and 1 deletions
34
.github/workflows/template_initialization.yaml
vendored
34
.github/workflows/template_initialization.yaml
vendored
|
|
@ -1,10 +1,13 @@
|
||||||
name: template_initialization
|
name: template_initialization
|
||||||
on:
|
on:
|
||||||
create
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
template_initialization:
|
template_initialization:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.created && github.repository != 'garronej/ts_ci' }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checking availability for module name ${{github.event.repository.name}} on NPM.
|
- name: Checking availability for module name ${{github.event.repository.name}} on NPM.
|
||||||
|
|
@ -62,3 +65,32 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
||||||
branch: develop
|
branch: develop
|
||||||
|
|
||||||
|
debug:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.repository == 'garronej/ts_ci' }}
|
||||||
|
steps:
|
||||||
|
- name: Dump GitHub context
|
||||||
|
env:
|
||||||
|
GITHUB_CONTEXT: ${{ toJSON(github) }}
|
||||||
|
run: echo "$GITHUB_CONTEXT"
|
||||||
|
- name: Dump job context
|
||||||
|
env:
|
||||||
|
JOB_CONTEXT: ${{ toJSON(job) }}
|
||||||
|
run: echo "$JOB_CONTEXT"
|
||||||
|
- name: Dump steps context
|
||||||
|
env:
|
||||||
|
STEPS_CONTEXT: ${{ toJSON(steps) }}
|
||||||
|
run: echo "$STEPS_CONTEXT"
|
||||||
|
- name: Dump runner context
|
||||||
|
env:
|
||||||
|
RUNNER_CONTEXT: ${{ toJSON(runner) }}
|
||||||
|
run: echo "$RUNNER_CONTEXT"
|
||||||
|
- name: Dump strategy context
|
||||||
|
env:
|
||||||
|
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
|
||||||
|
run: echo "$STRATEGY_CONTEXT"
|
||||||
|
- name: Dump matrix context
|
||||||
|
env:
|
||||||
|
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
|
||||||
|
run: echo "$MATRIX_CONTEXT"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue