Sync test data changes
This commit is contained in:
+3
-5
@@ -1,9 +1,7 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
@@ -13,7 +11,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo hi
|
||||
continue-on-error: true
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
build2:
|
||||
@@ -24,7 +22,7 @@ jobs:
|
||||
concurrency: staging
|
||||
build4:
|
||||
runs-on: macos-latest
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ref
|
||||
cancel-in-progress: ${{ github.ref }}
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
bad_insert1: "This is a bad ${{ insert }}"
|
||||
bad_insert2: "${{ insert }} are bad at the beginning"
|
||||
${{ insert }}: ${{ github.ref }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-insert.yml (Line: 6, Col: 20): The directive 'insert' is not allowed in this context. Directives are not supported for expressions that are embedded within a string. Directives are only supported when the entire value is an expression."
|
||||
},
|
||||
{
|
||||
"Message": ".github/workflows/errors-insert.yml (Line: 7, Col: 20): The directive 'insert' is not allowed in this context. Directives are not supported for expressions that are embedded within a string. Directives are only supported when the entire value is an expression."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- null : ' '
|
||||
run: echo {{ 😀 }}
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-invalid-mapping-key.yml (Line: 6, Col: 9): Unexpected value ''"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -15,7 +13,7 @@ jobs:
|
||||
steps:
|
||||
- run: echo hi
|
||||
build3:
|
||||
runs-on:
|
||||
runs-on:
|
||||
group: ent/
|
||||
steps:
|
||||
- run: echo hi
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
bad-strategy-key:
|
||||
strategy:
|
||||
bad-key:
|
||||
os: [10]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-matrix-bad-key.yml (Line: 5, Col: 7): Unexpected value 'bad-key'"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
empty-vector:
|
||||
strategy:
|
||||
matrix:
|
||||
os: []
|
||||
version: [10,12]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-matrix-empty-vector.yml (Line: 6, Col: 13): Matrix vector 'os' does not contain any values"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-depth: 5
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-file-size: 124
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
max-job-limit: 8
|
||||
---
|
||||
on: push
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-result-size: 768
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
Vendored
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
Vendored
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
max-nested-reusable-workflows-depth: 2
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-result-size: 2048
|
||||
skip:
|
||||
- TypeScript
|
||||
- Go
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
permissions:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
||||
---
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
||||
---
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
||||
---
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
permissions:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
name: CI
|
||||
on:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
env:
|
||||
@@ -12,7 +10,7 @@ jobs:
|
||||
steps:
|
||||
- run: echo Hello && World #string token
|
||||
build2:
|
||||
if: false
|
||||
if: false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo 1
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Switch to using Python 3.10 by default
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: >-
|
||||
3.10
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__actions_setup-python",
|
||||
"name": "Switch to using Python 3.10 by default",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"uses": "actions/setup-python@v4",
|
||||
"with": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "python-version",
|
||||
"Value": "3.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix_map: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
needs: generate
|
||||
env:
|
||||
${{ insert }}: ${{ fromJson(needs.generate.outputs.matrix_map) }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "generate",
|
||||
"name": "generate",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"outputs": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix_map",
|
||||
"Value": {
|
||||
"type": 3,
|
||||
"expr": "steps.set-matrix.outputs.matrix"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "run",
|
||||
"name": "run",
|
||||
"needs": [
|
||||
"generate"
|
||||
],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"env": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": {
|
||||
"type": 4,
|
||||
"directive": "insert"
|
||||
},
|
||||
"Value": {
|
||||
"type": 3,
|
||||
"expr": "fromJson(needs.generate.outputs.matrix_map)"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
env:
|
||||
@@ -21,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
build4:
|
||||
build4:
|
||||
needs:
|
||||
- build
|
||||
- build2
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
permissions:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -0,0 +1,283 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
matrix-basic:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [10, 12, 14]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
matrix-nested-sequences:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [[[[10]],2],12,14]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
matrix-with-infinity:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [1, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
nested-matrix:
|
||||
strategy:
|
||||
matrix: { vector1: [ {foo: {bar: baz} } ] }
|
||||
runs-on: linux
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "matrix-basic",
|
||||
"name": "matrix-basic",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "version",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
10,
|
||||
12,
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Key": "os",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"ubuntu-latest",
|
||||
"windows-latest"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": {
|
||||
"type": 3,
|
||||
"expr": "matrix.os"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "matrix-nested-sequences",
|
||||
"name": "matrix-nested-sequences",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "version",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 1,
|
||||
"seq": [
|
||||
10
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
2
|
||||
]
|
||||
},
|
||||
12,
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Key": "os",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"ubuntu-latest",
|
||||
"windows-latest"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": {
|
||||
"type": 3,
|
||||
"expr": "matrix.os"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "matrix-with-infinity",
|
||||
"name": "matrix-with-infinity",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "version",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
1,
|
||||
"Infinity"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Key": "os",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"ubuntu-latest",
|
||||
"windows-latest"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": {
|
||||
"type": 3,
|
||||
"expr": "matrix.os"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "nested-matrix",
|
||||
"name": "nested-matrix",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "vector1",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "foo",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "bar",
|
||||
"Value": "baz"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "linux",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+3
-5
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -10,7 +8,7 @@ jobs:
|
||||
name: ${{ github.actor }}
|
||||
timeout-minutes: ${{ github.ref }}
|
||||
cancel-timeout-minutes: 300
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
env:
|
||||
@@ -28,10 +26,10 @@ jobs:
|
||||
build2:
|
||||
runs-on: [self-hosted, linux]
|
||||
continue-on-error: true
|
||||
name: Jobs Repro Hardcode
|
||||
name: Jobs Repro Hardcode
|
||||
timeout-minutes: 360
|
||||
cancel-timeout-minutes: 300
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: groupA
|
||||
cancel-in-progress: true
|
||||
env:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Typescript
|
||||
---
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- Typescript
|
||||
---
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -22,6 +19,10 @@ on:
|
||||
- debug
|
||||
# Defaults to string
|
||||
input4:
|
||||
input5-Env:
|
||||
description: 'Test environment'
|
||||
type: environment
|
||||
required: true
|
||||
jobs:
|
||||
my-job:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -33,7 +34,8 @@ jobs:
|
||||
"input1": "string",
|
||||
"input2": "boolean",
|
||||
"input3": "choice",
|
||||
"input4": "string"
|
||||
"input4": "string",
|
||||
"input5-Env": "environment"
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
|
||||
-2
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Typescript
|
||||
---
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
permissions:
|
||||
@@ -24,7 +22,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo hi
|
||||
continue-on-error: true
|
||||
deploy:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
include-source: true # Preserve file/line/col in serialized output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
+14
-39
@@ -1,7 +1,6 @@
|
||||
include-source: true # Preserve file/line/col in serialized output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -33,46 +32,34 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 3,
|
||||
"col": 3,
|
||||
"lit": "build"
|
||||
},
|
||||
"Name": {
|
||||
"name": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 3,
|
||||
"col": 3,
|
||||
"lit": "build"
|
||||
},
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": {
|
||||
"ref": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 4,
|
||||
"col": 11,
|
||||
"lit": "some-org-1/some-repo-1/.github/workflows/build.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": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": {
|
||||
@@ -120,46 +107,34 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 5,
|
||||
"col": 3,
|
||||
"lit": "deploy"
|
||||
},
|
||||
"Name": {
|
||||
"name": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 5,
|
||||
"col": 3,
|
||||
"lit": "deploy"
|
||||
},
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": {
|
||||
"ref": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 6,
|
||||
"col": 11,
|
||||
"lit": "some-org-2/some-repo-2/.github/workflows/deploy.yml@v2"
|
||||
},
|
||||
"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": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": {
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
include-source: true # Preserve file/line/col in serialized output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
# This is meant to cover all the different types of TemplateToken that are output
|
||||
# with include-source: true. Currently it is missing type 4 (insert expression)
|
||||
# with include-source: true. Currently it is missing type 4 (insert expression)
|
||||
# and type 7 (null), once we have matrix strategy we should be able to get null or combine
|
||||
# this test with preserves-source-info-basic.yml.
|
||||
on: push
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -53,17 +52,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -200,7 +198,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -229,16 +227,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -66,19 +65,18 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-1",
|
||||
"Name": "deploy-1",
|
||||
"Needs": [
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-1",
|
||||
"name": "deploy-1",
|
||||
"needs": [
|
||||
"build"
|
||||
],
|
||||
"If": {
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -99,7 +97,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -108,7 +106,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": {
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -129,7 +127,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": {
|
||||
"secret-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -141,14 +139,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
@@ -184,19 +175,18 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-2",
|
||||
"Name": "deploy-2",
|
||||
"Needs": [
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-2",
|
||||
"name": "deploy-2",
|
||||
"needs": [
|
||||
"build"
|
||||
],
|
||||
"If": {
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -217,7 +207,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -226,7 +216,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": {
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -247,15 +237,8 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": true,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"inherit-secrets": true,
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
|
||||
+9
-20
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -35,17 +34,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy",
|
||||
"Name": "deploy",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy",
|
||||
"name": "deploy",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -98,7 +96,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -119,16 +117,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -26,28 +25,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
@@ -71,28 +58,16 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build1",
|
||||
"Name": "custom name",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build1",
|
||||
"name": "custom name",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
@@ -116,31 +91,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": {
|
||||
"type": 3,
|
||||
"expr": "github.ref"
|
||||
},
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
|
||||
+14
-39
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
max-nested-reusable-workflows-depth: 2
|
||||
---
|
||||
on: push
|
||||
@@ -28,51 +27,27 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-0",
|
||||
"Name": "deploy-level-0",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"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": [
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-1",
|
||||
"Name": "deploy-level-1",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"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": [
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-1",
|
||||
|
||||
+204
@@ -0,0 +1,204 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
max-nested-reusable-workflows-depth: 2
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
a:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1a.yml@v1
|
||||
b:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1b.yml@v1
|
||||
c:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1c.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1a.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1a:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2a.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2a.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-2a:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1b.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1b:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2b.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2b.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-2b:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1c.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1c:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2c.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2c.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-2c:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "a",
|
||||
"name": "a",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1a.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1a",
|
||||
"name": "deploy-level-1a",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2a.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-2a",
|
||||
"name": "deploy-level-2a",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "b",
|
||||
"name": "b",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1b.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1b",
|
||||
"name": "deploy-level-1b",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2b.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-2b",
|
||||
"name": "deploy-level-2b",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "c",
|
||||
"name": "c",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1c.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1c",
|
||||
"name": "deploy-level-1c",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2c.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-2c",
|
||||
"name": "deploy-level-2c",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+24
-58
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
max-nested-reusable-workflows-depth: 3
|
||||
---
|
||||
on: push
|
||||
@@ -42,80 +41,47 @@ jobs:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-0",
|
||||
"Name": "deploy-level-0",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"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": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-1",
|
||||
"Name": "deploy-level-1",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"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": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-3",
|
||||
"Name": "deploy-level-3",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-3",
|
||||
"name": "deploy-level-3",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-3.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-3.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-3",
|
||||
|
||||
+8
-20
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
@@ -47,30 +46,19 @@ permissions:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
Vendored
+8
-20
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
@@ -47,30 +46,19 @@ jobs:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+15
-39
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
@@ -27,28 +26,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -72,30 +59,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+15
-39
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: Write
|
||||
---
|
||||
on: push
|
||||
@@ -27,28 +26,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -72,30 +59,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+16
-39
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
permissions-policy: LimitedRead
|
||||
---
|
||||
on: push
|
||||
@@ -32,30 +31,19 @@ jobs:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -82,30 +70,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+10
-20
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -31,17 +30,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -58,7 +56,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -70,15 +68,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": {
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -101,7 +91,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -33,28 +32,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -78,28 +65,16 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso2/templates2/.github/workflows/build2.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": [
|
||||
"ref": "contoso2/templates2/.github/workflows/build2.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy2",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -21,28 +20,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.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": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -27,22 +26,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"outputs": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -66,12 +59,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
|
||||
Vendored
+9
-20
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -25,19 +24,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -46,7 +42,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": {
|
||||
"secret-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -58,14 +54,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -32,19 +31,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -61,7 +57,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": {
|
||||
"secret-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -73,14 +69,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -104,19 +93,16 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -133,15 +119,8 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": true,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"inherit-secrets": true,
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
env:
|
||||
|
||||
+18
@@ -6,10 +6,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Actions/Capitalized@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: docker://alpine:latest
|
||||
- run: echo hello
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Actions/Capitalized@v2
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: docker://alpine:latest
|
||||
- run: echo hello
|
||||
@@ -34,6 +36,14 @@ jobs:
|
||||
},
|
||||
"uses": "actions/checkout@v2"
|
||||
},
|
||||
{
|
||||
"id": "__Actions_Capitalized",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"uses": "Actions/Capitalized@v2"
|
||||
},
|
||||
{
|
||||
"id": "__actions_setup-node",
|
||||
"if": {
|
||||
@@ -66,6 +76,14 @@ jobs:
|
||||
},
|
||||
"uses": "actions/checkout@v2"
|
||||
},
|
||||
{
|
||||
"id": "__Actions_Capitalized_2",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"uses": "Actions/Capitalized@v2"
|
||||
},
|
||||
{
|
||||
"id": "__actions_setup-node_2",
|
||||
"if": {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
defaults:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
env:
|
||||
UNDERSCORED_INT_AS_STRING: 12_345
|
||||
UNDERSCORED_FLOAT_AS_STRING: 23_456.789_321
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
vector-1:
|
||||
- 12_345
|
||||
- 23_456.789_321
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"env": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "UNDERSCORED_INT_AS_STRING",
|
||||
"Value": "12_345"
|
||||
},
|
||||
{
|
||||
"Key": "UNDERSCORED_FLOAT_AS_STRING",
|
||||
"Value": "23_456.789_321"
|
||||
}
|
||||
]
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "vector-1",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"12_345",
|
||||
"23_456.789_321"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user