Skip to content

Commit e623032

Browse files
committed
4565: Applied yaml linting
1 parent d06d414 commit e623032

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+432
-437
lines changed

.github/workflows/github_build_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
tags:
4-
- '*.*.*'
4+
- "*.*.*"
55

66
name: Create Github Release
77

.github/workflows/itkdev_docker_build_develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
branches:
5-
- 'develop'
5+
- "develop"
66

77
# This Action builds to itkdev/* using ./infrastructure/itkdev/*
88
name: ITK Dev - Build docker image (develop)

.github/workflows/itkdev_docker_build_tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
tags:
5-
- '*'
5+
- "*"
66

77
# This Action builds to itkdev/* using ./infrastructure/itkdev/*
88
name: ITK Dev - Build docker image (tag)

.github/workflows/os2display_docker_build_develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
branches:
5-
- 'develop'
5+
- "develop"
66

77
# This Action builds to os2display/* using ./infrastructure/os2display/*
88
name: OS2display - Build docker image (develop)

.github/workflows/os2display_docker_build_tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
tags:
5-
- '*'
5+
- "*"
66

77
# This Action builds to os2display/* using ./infrastructure/os2display/*
88
name: OS2display - Build docker image (tag)

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
key: ${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
3333
restore-keys: ${{ matrix.php }}-composer-
3434

35-
- name: '[prod] Composer install with exported .env variables'
35+
- name: "[prod] Composer install with exported .env variables"
3636
run: |
3737
set -a && source .env && set +a
3838
APP_ENV=prod composer install --no-dev -o
@@ -79,7 +79,7 @@ jobs:
7979
key: ${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
8080
restore-keys: ${{ matrix.php }}-composer-
8181

82-
- name: 'Composer install with exported .env variables'
82+
- name: "Composer install with exported .env variables"
8383
run: |
8484
set -a && source .env && set +a
8585
APP_ENV=prod composer install --no-dev -o

.github/workflows/yaml.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
docker network create frontend
3838
3939
- run: |
40-
docker compose run --rm prettier '**/*.{yml,yaml}' --check
40+
docker compose run --rm prettier '**/*.{yml,yaml}' --ignore-path .yamllintignore --check

.yamllint.yaml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.yamllintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
vendor/
3+
public/api-spec-v2.yaml

config/api_platform/feed.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resources:
1616
- schema:
1717
type: string
1818
format: ulid
19-
pattern: "^[A-Za-z0-9]{26}$"
19+
pattern: '^[A-Za-z0-9]{26}$'
2020
name: id
2121
in: path
2222
required: true
@@ -45,7 +45,7 @@ resources:
4545
- schema:
4646
type: string
4747
format: ulid
48-
pattern: "^[A-Za-z0-9]{26}$"
48+
pattern: '^[A-Za-z0-9]{26}$'
4949
name: id
5050
in: path
5151
required: true
@@ -56,10 +56,16 @@ resources:
5656
examples:
5757
example1:
5858
value:
59-
- {key1: 'value1', key2: 'value2'}
60-
- {key1: 'value3', key2: 'value4'}
59+
- {
60+
key1: 'value1',
61+
key2: 'value2',
62+
}
63+
- {
64+
key1: 'value3',
65+
key2: 'value4',
66+
}
6167
example2:
62-
value: {key1: 'value1'}
68+
value: { key1: 'value1' }
6369
headers: {}
6470

6571
ApiPlatform\Metadata\GetCollection:

0 commit comments

Comments
 (0)