Skip to content

Commit a698657

Browse files
Update editorconfig-check.yml
Signed-off-by: LUIZ HAMILTON ROBERTO DA SILVA <[email protected]>
1 parent e2e6a0e commit a698657

1 file changed

Lines changed: 72 additions & 4 deletions

File tree

.github/workflows/editorconfig-check.yml

Lines changed: 72 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,80 @@ on:
66
paths:
77
- '.editorconfig'
88
- '**/.editorconfig'
9-
- '**/*.{ps1,psm1,psd1,vbs,hta,xml,json,jsonc,yaml,yml,toml,md,rst,txt,csv,log,env,reg,html,config,nuspec,csproj,ini,conf,sh,bash,bat,cmd,eslintrc,eslintrc.json,stylelintrc,prettierrc,prettierrc.json,lock}'
9+
- '**/*.ps1'
10+
- '**/*.psm1'
11+
- '**/*.psd1'
12+
- '**/*.vbs'
13+
- '**/*.hta'
14+
- '**/*.xml'
15+
- '**/*.json'
16+
- '**/*.jsonc'
17+
- '**/*.md'
18+
- '**/*.rst'
19+
- '**/*.txt'
20+
- '**/*.csv'
21+
- '**/*.log'
22+
- '**/*.sh'
23+
- '**/*.bash'
24+
- '**/*.bat'
25+
- '**/*.cmd'
26+
- '**/*.html'
27+
- '**/*.yml'
28+
- '**/*.yaml'
29+
- '**/*.toml'
30+
- '**/*.ini'
31+
- '**/*.conf'
32+
- '**/*.config'
33+
- '**/*.nuspec'
34+
- '**/*.csproj'
35+
- '**/*.reg'
36+
- '**/*.env'
37+
- '**/.eslintrc'
38+
- '**/.eslintrc.json'
39+
- '**/.stylelintrc'
40+
- '**/.prettierrc'
41+
- '**/.prettierrc.json'
42+
- '**/*.lock'
1043

1144
pull_request:
1245
branches: [main, develop]
1346
paths:
1447
- '.editorconfig'
1548
- '**/.editorconfig'
16-
- '**/*.{ps1,psm1,psd1,vbs,hta,xml,json,jsonc,yaml,yml,toml,md,rst,txt,csv,log,env,reg,html,config,nuspec,csproj,ini,conf,sh,bash,bat,cmd,eslintrc,eslintrc.json,stylelintrc,prettierrc,prettierrc.json,lock}'
49+
- '**/*.ps1'
50+
- '**/*.psm1'
51+
- '**/*.psd1'
52+
- '**/*.vbs'
53+
- '**/*.hta'
54+
- '**/*.xml'
55+
- '**/*.json'
56+
- '**/*.jsonc'
57+
- '**/*.md'
58+
- '**/*.rst'
59+
- '**/*.txt'
60+
- '**/*.csv'
61+
- '**/*.log'
62+
- '**/*.sh'
63+
- '**/*.bash'
64+
- '**/*.bat'
65+
- '**/*.cmd'
66+
- '**/*.html'
67+
- '**/*.yml'
68+
- '**/*.yaml'
69+
- '**/*.toml'
70+
- '**/*.ini'
71+
- '**/*.conf'
72+
- '**/*.config'
73+
- '**/*.nuspec'
74+
- '**/*.csproj'
75+
- '**/*.reg'
76+
- '**/*.env'
77+
- '**/.eslintrc'
78+
- '**/.eslintrc.json'
79+
- '**/.stylelintrc'
80+
- '**/.prettierrc'
81+
- '**/.prettierrc.json'
82+
- '**/*.lock'
1783

1884
workflow_dispatch:
1985

@@ -27,11 +93,13 @@ jobs:
2793
uses: actions/[email protected]
2894

2995
- name: 📥 Download EditorConfig Checker
96+
shell: bash
3097
run: |
3198
wget -q https://github.com/editorconfig-checker/editorconfig-checker/releases/latest/download/ec-linux-amd64.tar.gz
32-
mkdir -p ec-checker
99+
mkdir ec-checker
33100
tar -xzf ec-linux-amd64.tar.gz -C ec-checker
34101
chmod +x ec-checker/ec || chmod +x ec-checker/ec-linux-amd64 || true
102+
35103
if [ -f ec-checker/ec ]; then
36104
sudo mv ec-checker/ec /usr/local/bin/ec
37105
elif [ -f ec-checker/ec-linux-amd64 ]; then
@@ -44,4 +112,4 @@ jobs:
44112
- name: ▶️ Run EditorConfig Checker
45113
run: |
46114
ec --version
47-
ec --disable-logs || true # Do not fail if stylistic violations exist
115+
ec --disable-logs || true # Avoid failure on style warnings

0 commit comments

Comments
 (0)