Skip to content

Commit ba3868c

Browse files
committed
chore: add yml linting
1 parent 15559ed commit ba3868c

File tree

8 files changed

+123
-110
lines changed

8 files changed

+123
-110
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: /
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 10
8-
- package-ecosystem: github-actions
9-
directory: /
10-
schedule:
11-
interval: weekly
12-
open-pull-requests-limit: 10
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: github-actions
9+
directory: /
10+
schedule:
11+
interval: weekly
12+
open-pull-requests-limit: 10
Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#
32
# You may wish to alter this file to override the set of languages analyzed,
43
# or to provide custom queries or build logic.
@@ -12,12 +11,12 @@ name: "CodeQL"
1211

1312
on:
1413
push:
15-
branches: [ main ]
14+
branches: [main]
1615
pull_request:
1716
# The branches below must be a subset of the branches above
18-
branches: [ main ]
17+
branches: [main]
1918
schedule:
20-
- cron: '24 6 * * 5'
19+
- cron: "24 6 * * 5"
2120

2221
jobs:
2322
analyze:
@@ -31,39 +30,39 @@ jobs:
3130
strategy:
3231
fail-fast: false
3332
matrix:
34-
language: [ 'javascript' ]
33+
language: ["javascript"]
3534
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3635
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3736

3837
steps:
39-
- name: Checkout repository
40-
uses: actions/checkout@v4.2.2
38+
- name: Checkout repository
39+
uses: actions/checkout@v4.2.2
4140

42-
# Initializes the CodeQL tools for scanning.
43-
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@v3.28.18
45-
with:
46-
languages: ${{ matrix.language }}
47-
# If you wish to specify custom queries, you can do so here or in a config file.
48-
# By default, queries listed here will override any specified in a config file.
49-
# Prefix the list here with "+" to use these queries and those in the config file.
50-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
41+
# Initializes the CodeQL tools for scanning.
42+
- name: Initialize CodeQL
43+
uses: github/codeql-action/init@v3.28.18
44+
with:
45+
languages: ${{ matrix.language }}
46+
# If you wish to specify custom queries, you can do so here or in a config file.
47+
# By default, queries listed here will override any specified in a config file.
48+
# Prefix the list here with "+" to use these queries and those in the config file.
49+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5150

52-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
53-
# If this step fails, then you should remove it and run the build manually (see below)
54-
- name: Autobuild
55-
uses: github/codeql-action/autobuild@v3.28.18
51+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
52+
# If this step fails, then you should remove it and run the build manually (see below)
53+
- name: Autobuild
54+
uses: github/codeql-action/autobuild@v3.28.18
5655

57-
# ℹ️ Command-line programs to run using the OS shell.
58-
# 📚 https://git.io/JvXDl
56+
# ℹ️ Command-line programs to run using the OS shell.
57+
# 📚 https://git.io/JvXDl
5958

60-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
61-
# and modify them (or add more) to build your code if your project
62-
# uses a compiled language
59+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
60+
# and modify them (or add more) to build your code if your project
61+
# uses a compiled language
6362

64-
#- run: |
65-
# make bootstrap
66-
# make release
63+
#- run: |
64+
# make bootstrap
65+
# make release
6766

68-
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@v3.28.18
67+
- name: Perform CodeQL Analysis
68+
uses: github/codeql-action/analyze@v3.28.18

.github/workflows/enforce-license-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
enforce-license-compliance:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: 'Enforce License Compliance'
11+
- name: "Enforce License Compliance"
1212
uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main
1313
with:
1414
fossa_api_key: ${{ secrets.FOSSA_API_KEY }}

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v4.2.2
1616
with:
17-
submodules: 'true'
17+
submodules: "true"
1818
- name: Install dependencies
1919
run: pip install -r src/scripts/app/requirements.txt
2020
- name: Run tests and collect coverage
@@ -55,7 +55,7 @@ jobs:
5555
- name: Checkout
5656
uses: actions/checkout@v4.2.2
5757
with:
58-
submodules: 'true'
58+
submodules: "true"
5959
- name: Install dependencies
6060
run: pip install -r src/scripts/app/requirements.txt
6161
- name: Run tests and collect coverage
@@ -104,7 +104,7 @@ jobs:
104104
- name: Checkout
105105
uses: actions/checkout@v4.2.2
106106
with:
107-
submodules: 'true'
107+
submodules: "true"
108108
- name: Install deps
109109
run: |
110110
apt-get install git

.github/workflows/scorecards-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ on:
33
# Only the default branch is supported.
44
branch_protection_rule:
55
schedule:
6-
- cron: '43 20 * * 1'
6+
- cron: "43 20 * * 1"
77
push:
8-
branches: [ main ]
8+
branches: [main]
99

1010
# Declare default permissions as read only.
1111
permissions: read-all

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/scripts/

0 commit comments

Comments
 (0)