Skip to content

Commit 905be9b

Browse files
committed
fix(ci): address super-linter failures
- fix(update_etl): set executable bit (BASH_EXEC failure) - fix(codespellrc): convert tab indentation to spaces (EDITORCONFIG failure) - feat(gitleaks): add .gitleaks.toml allowlist for GA4 Measurement Protocol API secret in info_stats.sh (not a sensitive credential, safe to be public) - feat(markdownlint): add .markdownlint.json matching repo list style (MD030 ul_multi: 1, MD007 indent: 2) to fix MARKDOWN failures
1 parent 4dd2a0a commit 905be9b

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.github/linters/.codespellrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[codespell]
22
# Skip data tables that contain many short server identifiers (e.g. "fof", "nd")
33
skip =
4-
lgsm/data/*.csv,
5-
package-lock.json,
6-
*/package-lock.json,
7-
node_modules,
8-
*/node_modules/*
4+
lgsm/data/*.csv,
5+
package-lock.json,
6+
*/package-lock.json,
7+
node_modules,
8+
*/node_modules/*
99

1010
# Ignore common identifiers/acronyms and extensions used throughout LinuxGSM
1111
ignore-words-list = distroname,fof,nd,sav,parms,ThirdParty

.github/linters/.gitleaks.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
title = "LinuxGSM Gitleaks Config"
2+
3+
[allowlist]
4+
description = "Known false positives"
5+
regexes = [
6+
# Google Analytics 4 Measurement Protocol API secret - not a sensitive credential,
7+
# it is intentionally embedded in client-side code and is safe to be public.
8+
'''apisecret="[A-Za-z0-9_\-]+"''',
9+
]

.github/linters/.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"MD007": { "indent": 2 },
3+
"MD030": { "ul_single": 1, "ul_multi": 1 }
4+
}

lgsm/modules/update_etl.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)