Skip to content

Commit 774492e

Browse files
authored
ci: fix workflow YAML schema and standardize formatting (#7528)
Use the GitHub Actions schema for .github/workflows/*.yml so the YAML linter no longer treats serverless.yml as Serverless Framework config. Standardize formatting across all workflow files using the yaml-language-server formatter.
1 parent ca13105 commit 774492e

24 files changed

+265
-272
lines changed

.github/workflows/aiguard.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ env:
1515
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
1616

1717
jobs:
18-
1918
macos:
2019
name: ${{ github.workflow }} / macos
2120
runs-on: macos-latest
@@ -27,7 +26,7 @@ jobs:
2726
- uses: ./.github/actions/coverage
2827
with:
2928
flags: aiguard-macos
30-
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
29+
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
3130
if: always() && github.actor != 'dependabot[bot]'
3231
with:
3332
api_key: ${{ secrets.DD_API_KEY }}
@@ -59,12 +58,12 @@ jobs:
5958
- uses: ./.github/actions/node/latest
6059
- uses: ./.github/actions/install
6160
with:
62-
cache: 'true'
61+
cache: "true"
6362
- run: yarn test:aiguard:ci
6463
- uses: ./.github/actions/coverage
6564
with:
6665
flags: aiguard-windows
67-
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
66+
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
6867
if: always() && github.actor != 'dependabot[bot]'
6968
with:
7069
api_key: ${{ secrets.DD_API_KEY }}
@@ -83,7 +82,7 @@ jobs:
8382
version: ${{ matrix.version }}
8483
- uses: ./.github/actions/install
8584
- run: yarn test:integration:aiguard
86-
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
85+
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
8786
if: always() && github.actor != 'dependabot[bot]'
8887
with:
8988
api_key: ${{ secrets.DD_API_KEY }}

.github/workflows/all-green.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
1615
all-green:
1716
runs-on: ubuntu-latest
1817
permissions:

.github/workflows/apm-capabilities.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
latest-version:
12-
description: 'Node version to use'
12+
description: "Node version to use"
1313
required: false
1414
type: string
1515

16-
1716
concurrency:
1817
group: ${{ github.workflow }}-${{ inputs.latest-version }}-${{ github.ref || github.run_id }}
1918
cancel-in-progress: true
@@ -33,7 +32,7 @@ jobs:
3332
- uses: ./.github/actions/coverage
3433
with:
3534
flags: apm-capabilities-tracing-macos
36-
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
35+
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
3736
if: always() && github.actor != 'dependabot[bot]'
3837
with:
3938
api_key: ${{ secrets.DD_API_KEY }}
@@ -55,7 +54,7 @@ jobs:
5554
- uses: ./.github/actions/coverage
5655
with:
5756
flags: apm-capabilities-tracing-ubuntu
58-
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
57+
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
5958
if: always() && github.actor != 'dependabot[bot]'
6059
with:
6160
api_key: ${{ secrets.DD_API_KEY }}
@@ -68,12 +67,12 @@ jobs:
6867
- uses: ./.github/actions/node/latest
6968
- uses: ./.github/actions/install
7069
with:
71-
cache: 'true'
70+
cache: "true"
7271
- run: yarn test:trace:core:ci
7372
- uses: ./.github/actions/coverage
7473
with:
7574
flags: apm-capabilities-tracing-windows
76-
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
75+
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
7776
if: always() && github.actor != 'dependabot[bot]'
7877
with:
7978
api_key: ${{ secrets.DD_API_KEY }}

0 commit comments

Comments
 (0)