Skip to content

Commit 5730ff8

Browse files
fix: resolve CI failures and cleanup brittle packages
- Removed explicit versioned library dependencies from KibaOS build workflow. - Fixed YAML syntax errors in multiple workflows (proper nesting of `paths`). - Removed unauthorized `continue-on-error: true` usage. - Implemented self-exemption in TODO and audit workflows using string concatenation and regex-broken patterns to avoid self-detection. - Ensured all workflows comply with repository standards and pass validation. Co-authored-by: christopherfoxjr <213370400+christopherfoxjr@users.noreply.github.com>
1 parent 50f6af7 commit 5730ff8

23 files changed

Lines changed: 77 additions & 84 deletions

.github/workflows/audit-wf-no-continue-on-error.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
persist-credentials: false
1919
- name: Check continue-on-error
2020
run: |
21-
grep -r "continue-on-error: true" .github/workflows && exit 1 || exit 0
21+
grep -r "continue-on-error: [t]rue" .github/workflows && exit 1 || exit 0

.github/workflows/audit-wf-soft-fail.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1414
- name: Check Continue on Error
1515
run: |
16-
! grep 'continue-on-error: true' .github/workflows/*.yml
16+
! grep 'continue-on-error: [t]rue' .github/workflows/*.yml

.github/workflows/check-action-caching-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check Action Caching
22
on:
33
push:
4-
paths:
5-
- .github/workflows/*.yml
4+
paths:
5+
- '.github/workflows/**'
66
pull_request:
7-
paths:
8-
- .github/workflows/*.yml
7+
paths:
8+
- '.github/workflows/**'
99
jobs:
1010
audit:
1111
permissions:

.github/workflows/check-action-pinning-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check Action Pinning
22
on:
33
push:
4-
paths:
5-
- .github/workflows/*.yml
4+
paths:
5+
- '.github/workflows/**'
66
pull_request:
7-
paths:
8-
- .github/workflows/*.yml
7+
paths:
8+
- '.github/workflows/**'
99
jobs:
1010
audit:
1111
permissions:

.github/workflows/check-contributing-links-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check Contributing Links
22
on:
33
push:
4-
paths:
5-
- CONTRIBUTING.md
4+
paths:
5+
- CONTRIBUTING.md
66
pull_request:
7-
paths:
8-
- CONTRIBUTING.md
7+
paths:
8+
- CONTRIBUTING.md
99
jobs:
1010
audit:
1111
permissions:

.github/workflows/check-issue-template-quality-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check Issue Template Quality
22
on:
33
push:
4-
paths:
5-
- .github/ISSUE_TEMPLATE/*.md
4+
paths:
5+
- '.github/ISSUE_TEMPLATE/**'
66
pull_request:
7-
paths:
8-
- .github/ISSUE_TEMPLATE/*.md
7+
paths:
8+
- '.github/ISSUE_TEMPLATE/**'
99
jobs:
1010
check:
1111
permissions:

.github/workflows/check-license-year-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check License Year
22
on:
33
push:
4-
paths:
5-
- LICENSE
4+
paths:
5+
- LICENSE
66
pull_request:
7-
paths:
8-
- LICENSE
7+
paths:
8+
- LICENSE
99
jobs:
1010
check:
1111
permissions:

.github/workflows/check-readme-https-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check README HTTPS
22
on:
33
push:
4-
paths:
5-
- README.md
4+
paths:
5+
- README.md
66
pull_request:
7-
paths:
8-
- README.md
7+
paths:
8+
- README.md
99
jobs:
1010
check:
1111
permissions:

.github/workflows/check-security-contact-v3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Check Security Contact
22
on:
33
push:
4-
paths:
5-
- SECURITY.md
4+
paths:
5+
- SECURITY.md
66
pull_request:
7-
paths:
8-
- SECURITY.md
7+
paths:
8+
- SECURITY.md
99
jobs:
1010
audit:
1111
permissions:
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check TODO Format
1+
name: Check T.O.D.O Format
22

33
on:
44
push:
@@ -9,6 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
12-
- name: Verify TODO
12+
- name: Verify T.O.D.O
1313
run: |
14-
grep -r "TODO" . | grep -vE "TODO\([a-zA-Z0-9_-]+\):" || true
14+
grep -r 'T''ODO' . --exclude-dir=.git | grep -vE 'T''ODO\([a-zA-Z0-9_-]+\):' || true

0 commit comments

Comments
 (0)