File tree Expand file tree Collapse file tree 2 files changed +30
-24
lines changed
Expand file tree Collapse file tree 2 files changed +30
-24
lines changed Original file line number Diff line number Diff line change 3838 run : npm run lint
3939
4040
41- yaml-validation :
42- runs-on : ubuntu-latest
43- steps :
44- - name : YAML Lint
45- uses : ibiqlik/action-yamllint@v3
46- with :
47- file_or_dir : xero_accounting.yaml xero_assets.yaml xero_bankfeeds.yaml xero_files.yaml xero-app-store.yaml xero-identity.yaml xero-payroll-au.yaml xero-payroll-nz.yaml xero-payroll-uk.yaml xero-projects.yaml xero-webhooks.yaml
48- config_data : |
49- extends: default
50- rules:
51- line-length:
52- level: warning
53- trailing-spaces:
54- level: warning
55- indentation:
56- level: warning
57- colons:
58- level: warning
59- commas:
60- level: warning
61- new-line-at-end-of-file:
62- level: warning
63-
6441 codegen-validation :
6542 runs-on : ubuntu-latest
6643 permissions :
@@ -130,4 +107,19 @@ jobs:
130107 repo : xeroapi-sdk-codegen
131108 owner : xero-internal
132109 run_id : ${{ steps.codegen_workflow.outputs.run_id }}
133- run_timeout_seconds : 420 # 7 minutes
110+ run_timeout_seconds : 420 # 7 minutes
111+
112+ yaml-validation :
113+ runs-on : ubuntu-latest
114+ name : MegaLinter YAML
115+ steps :
116+ - name : Checkout repository
117+ uses : actions/checkout@v4
118+
119+ - name : MegaLinter
120+ uses : oxsecurity/megalinter@v9
121+ env :
122+ ENABLED_LINTERS : YAML_YAMLLINT
123+ YAML_YAMLLINT_CONFIG_FILE : .yamllint.yml
124+ APPLY_FIXES : none
125+ LOG_LEVEL : INFO
Original file line number Diff line number Diff line change 1+ extends : default
2+ rules :
3+ line-length :
4+ level : warning
5+ trailing-spaces :
6+ level : warning
7+ indentation :
8+ level : warning
9+ colons :
10+ level : warning
11+ commas :
12+ level : warning
13+ new-line-at-end-of-file :
14+ level : warning
You can’t perform that action at this time.
0 commit comments