Merge parser and expressions into repository
This commit is contained in:
+101
@@ -0,0 +1,101 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
max-nested-reusable-workflows-depth: 2
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
deploy-level-0:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-0",
|
||||
"Name": "deploy-level-0",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-1",
|
||||
"Name": "deploy-level-1",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-1",
|
||||
"name": "deploy-level-1",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user