Files
languageservices/workflow-parser/testdata/reader/workflow-concurrency-expression.yml
Christopher Schleiden 2a3d63551f Rename folders
2023-02-22 15:52:40 -08:00

39 lines
646 B
YAML

include-source: false # Drop file/line/col from output
---
on: push
concurrency: ci-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo hi
---
{
"concurrency": {
"type": 3,
"expr": "format('ci-{0}', github.ref)"
},
"jobs": [
{
"type": "job",
"id": "build",
"name": "build",
"if": {
"type": 3,
"expr": "success()"
},
"runs-on": "ubuntu-latest",
"steps": [
{
"id": "__run",
"if": {
"type": 3,
"expr": "success()"
},
"run": "echo hi"
}
]
}
]
}