Skip to content

Commit 64113d2

Browse files
wphillipmoorewphillipmoore-claude
andauthored
ci(workflows): adopt standard-actions v1.5 reusable workflows and remove st-validate-local (#184)
Replace bespoke CI with v1.5 reusable workflows (ci-quality, ci-security, ci-release). Delete legacy validation scripts (lint.sh, test.sh, audit.sh). Bump publish workflow to v1.5. Fix yamllint violations in publish.yml and mkdocs.yml. Update CLAUDE.md to reference st-validate. Co-authored-by: wphillipmoore-claude <255925739+wphillipmoore-claude@users.noreply.github.com>
1 parent 03a621b commit 64113d2

7 files changed

Lines changed: 34 additions & 48 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,44 @@
1-
name: CI - Test and Validate
1+
name: CI
22

33
on:
44
pull_request:
5+
workflow_call:
6+
inputs:
7+
run-security:
8+
type: boolean
9+
default: true
10+
run-release:
11+
type: boolean
12+
default: true
513

614
permissions:
715
contents: read
8-
security-events: write
916

1017
concurrency:
1118
group: ${{ github.workflow }}-${{ github.ref }}
1219
cancel-in-progress: true
1320

1421
jobs:
15-
security-and-standards:
16-
uses: wphillipmoore/standard-actions/.github/workflows/ci-security.yml@v1.4
22+
quality:
23+
uses: wphillipmoore/standard-actions/.github/workflows/ci-quality.yml@v1.5
24+
with:
25+
language: shell
26+
versions: '["latest"]'
27+
container-suffix: base
28+
29+
security:
30+
uses: wphillipmoore/standard-actions/.github/workflows/ci-security.yml@v1.5
31+
with:
32+
language: shell
33+
run-codeql: false
34+
run-standards: ${{ inputs.run-release || true }}
35+
run-security: ${{ inputs.run-security || true }}
1736
permissions:
1837
contents: read
1938
security-events: write
39+
40+
release:
41+
uses: wphillipmoore/standard-actions/.github/workflows/ci-release.yml@v1.5
2042
with:
2143
language: shell
22-
run-codeql: 'false'
23-
24-
shellcheck:
25-
name: "ci: shellcheck"
26-
runs-on: ubuntu-latest
27-
steps:
28-
- name: Checkout code
29-
uses: actions/checkout@v6
30-
31-
- name: Run shellcheck
32-
run: |
33-
files=$(find scripts -type f \( -name '*.sh' -o -path '*/git-hooks/*' \) | sort)
34-
if [ -n "$files" ]; then
35-
echo "$files" | xargs shellcheck
36-
else
37-
echo "No shell scripts found."
38-
fi
44+
run-release: ${{ inputs.run-release != false }}

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ permissions:
1111

1212
jobs:
1313
publish:
14-
uses: wphillipmoore/standard-actions/.github/workflows/publish-release.yml@v1.4
14+
# yamllint disable-line rule:line-length
15+
uses: wphillipmoore/standard-actions/.github/workflows/publish-release.yml@v1.5
1516
permissions:
1617
contents: write
1718
pull-requests: write

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ This is a documentation-only repository. There are no build or test commands.
109109
git config core.hooksPath ../standard-tooling/scripts/lib/git-hooks # Enable git hooks
110110
```
111111

112-
Standard-tooling CLI tools (`st-commit`, `st-validate-local`, etc.) are
112+
Standard-tooling CLI tools (`st-commit`, `st-validate`, etc.) are
113113
pre-installed in the dev container images. No local setup required.
114114

115115
### Validation
116116

117117
```bash
118-
markdownlint . # Lint all Markdown files
118+
st-docker-run -- st-validate # Full validation (runs in dev container)
119119
```
120120

121121
## Architecture

docs/site/mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
site_name: mq-rest-admin-common
22
site_url: https://wphillipmoore.github.io/mq-rest-admin-common/
3-
site_description: Shared documentation fragments and canonical mapping data for the mq-rest-admin project family
3+
site_description: >-
4+
Shared documentation fragments and canonical mapping data
5+
for the mq-rest-admin project family
46
repo_url: https://github.com/wphillipmoore/mq-rest-admin-common
57
repo_name: mq-rest-admin-common
68
edit_uri: ""

scripts/dev/audit.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

scripts/dev/lint.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

scripts/dev/test.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)