Skip to content

Commit 1af1533

Browse files
chore: standardize YAML formatting across workflows
1 parent 56c16ef commit 1af1533

7 files changed

Lines changed: 34 additions & 34 deletions

File tree

.github/workflows/auto_cherry_pick.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
default: "24"
1818

1919
pull_request:
20-
types: [opened, synchronize, labeled]
20+
types: [ opened, synchronize, labeled ]
2121

2222
permissions:
2323
contents: write

.github/workflows/claude_review.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Claude Code Review
22

33
on:
44
pull_request:
5-
types: [opened, synchronize, labeled]
5+
types: [ opened, synchronize, labeled ]
66

77
jobs:
88
code-review:
9-
uses: step-security/reusable-workflows/.github/workflows/claude_review.yml@fix/claude_version
10-
secrets:
11-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
12-
9+
uses: step-security/reusable-workflows/.github/workflows/claude_review.yml@fix/claude_version
10+
secrets:
11+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
12+
1313
permissions:
1414
contents: read
1515
pull-requests: write

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: ["main"]
16+
branches: [ "main" ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: ["main"]
19+
branches: [ "main" ]
2020
schedule:
2121
- cron: "0 0 * * 1"
2222

@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
language: ["javascript", "typescript"]
38+
language: [ "javascript", "typescript" ]
3939
# CodeQL supports [ $supported-codeql-languages ]
4040
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4141

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# Source repository: https://github.com/actions/dependency-review-action
99
name: 'Dependency Review'
10-
on: [pull_request]
10+
on: [ pull_request ]
1111

1212
permissions:
1313
contents: read

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ${{ matrix.runner }}
1515
strategy:
1616
matrix:
17-
runner: [macos-15, macos-26]
18-
xcode-version: [latest, latest-stable]
17+
runner: [ macos-15, macos-26 ]
18+
xcode-version: [ latest, latest-stable ]
1919
include:
2020
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md#xcode
2121
- runner: macos-15

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
schedule:
1313
- cron: '20 7 * * 2'
1414
push:
15-
branches: ["main"]
15+
branches: [ "main" ]
1616

1717
# Declare default permissions as read only.
1818
permissions: read-all

.github/workflows/workflow.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,38 @@ on:
55
- main
66
pull_request:
77

8-
permissions: {}
8+
permissions: { }
99

1010
jobs:
1111
Build:
1212
permissions:
1313
contents: read # for actions/checkout to fetch code
1414
runs-on: macos-latest
1515
steps:
16-
- name: Harden the runner (Audit all outbound calls)
17-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
18-
with:
19-
egress-policy: audit
16+
- name: Harden the runner (Audit all outbound calls)
17+
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
18+
with:
19+
egress-policy: audit
2020

21-
- name: Checkout
22-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
- name: Checkout
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323

24-
- name: Set Node.JS
25-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
26-
with:
27-
node-version: 24.x
24+
- name: Set Node.JS
25+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
26+
with:
27+
node-version: 24.x
2828

29-
- name: npm install
30-
run: npm install
29+
- name: npm install
30+
run: npm install
3131

32-
- name: Build
33-
run: npm run build
32+
- name: Build
33+
run: npm run build
3434

35-
- name: Run tests
36-
run: npm run test
35+
- name: Run tests
36+
run: npm run test
3737

38-
- name: Run Prettier
39-
run: npm run format-check
38+
- name: Run Prettier
39+
run: npm run format-check
4040

41-
- name: Lint
42-
run: npm run lint
41+
- name: Lint
42+
run: npm run lint

0 commit comments

Comments
 (0)