Skip to content

Commit 7f8962f

Browse files
wphillipmoorewphillipmoore-claude
andauthored
feat(ci): add category prefixes to job names (#338)
Standardize job display names with category prefixes so checks cluster naturally in the GitHub status list. Co-authored-by: wphillipmoore-claude <255925739+wphillipmoore-claude@users.noreply.github.com>
1 parent a1a674e commit 7f8962f

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
docs-only:
19-
name: docs-only
19+
name: "ci: docs-only"
2020
runs-on: ubuntu-latest
2121
outputs:
2222
docs-only: ${{ steps.detect.outputs.docs-only }}
@@ -29,7 +29,7 @@ jobs:
2929
uses: wphillipmoore/standard-actions/actions/docs-only-detect@develop
3030

3131
standards-compliance:
32-
name: standards-compliance
32+
name: "ci: standards-compliance"
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout code
@@ -43,7 +43,7 @@ jobs:
4343
commit-cutoff-sha: "df45093c260def11f409dc4f3ba86e91ec444797"
4444

4545
dependency-audit:
46-
name: dependency-audit
46+
name: "ci: dependency-audit"
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout code
@@ -77,7 +77,7 @@ jobs:
7777
Python Software Foundation License"
7878
7979
release-gates:
80-
name: release-gates
80+
name: "release: gates"
8181
runs-on: ubuntu-latest
8282
steps:
8383
- name: Skip on non-PR events
@@ -114,7 +114,7 @@ jobs:
114114
main-version-command: git show origin/main:pyproject.toml | python3 -c "import sys, tomllib; print(tomllib.loads(sys.stdin.read())['project']['version'])"
115115

116116
test-and-validate:
117-
name: test-and-validate
117+
name: "test: unit"
118118
runs-on: ubuntu-latest
119119
needs: docs-only
120120
strategy:
@@ -182,7 +182,7 @@ jobs:
182182
--cov-fail-under=100
183183
184184
codeql:
185-
name: codeql
185+
name: "security: codeql"
186186
runs-on: ubuntu-latest
187187
needs: docs-only
188188
if: needs.docs-only.outputs.docs-only != 'true'
@@ -198,7 +198,7 @@ jobs:
198198
language: python
199199

200200
trivy:
201-
name: trivy
201+
name: "security: trivy"
202202
runs-on: ubuntu-latest
203203
needs: docs-only
204204
if: needs.docs-only.outputs.docs-only != 'true'
@@ -214,7 +214,7 @@ jobs:
214214
scan-type: fs
215215

216216
semgrep:
217-
name: semgrep
217+
name: "security: semgrep"
218218
runs-on: ubuntu-latest
219219
needs: docs-only
220220
if: needs.docs-only.outputs.docs-only != 'true'
@@ -230,7 +230,7 @@ jobs:
230230
language: python
231231

232232
integration-tests:
233-
name: integration-tests
233+
name: "test: integration"
234234
runs-on: ubuntu-latest
235235
needs: docs-only
236236
if: needs.docs-only.outputs.docs-only != 'true'

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
deploy:
19-
name: deploy
19+
name: "deploy: docs"
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout code

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717

1818
jobs:
1919
publish:
20-
name: publish
20+
name: "publish: release"
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout code

docs/standards-compliance-gates.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ local validation scripts that mirror CI for pre-push verification.
2020
| Layer | Trigger | Scope | Speed |
2121
| ----- | ------- | ----- | ----- |
2222
| Git hooks | Pre-commit, commit-msg | Branch naming, commit format | Instant |
23-
| CI standards-compliance job | Pull request, push to develop | Repo profile, markdown, commits, issue linkage | Seconds |
24-
| CI test-and-validate job | Pull request, push to develop | Linting, typing, tests, coverage | Minutes |
25-
| CI dependency-audit job | Pull request, push to develop | Security vulnerabilities | Seconds |
23+
| CI `ci: standards-compliance` job | Pull request, push to develop | Repo profile, markdown, commits, issue linkage | Seconds |
24+
| CI `test: unit` job | Pull request, push to develop | Linting, typing, tests, coverage | Minutes |
25+
| CI `ci: dependency-audit` job | Pull request, push to develop | Security vulnerabilities | Seconds |
2626

2727
## Local enforcement
2828

@@ -48,13 +48,13 @@ against Conventional Commits format. Allowed types: `feat`, `fix`, `docs`,
4848

4949
**Workflow:** `.github/workflows/ci.yml`
5050

51-
### docs-only detection
51+
### `ci: docs-only` detection
5252

5353
Determines whether a pull request contains only documentation changes
54-
(`docs/*`, `README.md`, `CHANGELOG.md`). When true, the `test-and-validate`
54+
(`docs/*`, `README.md`, `CHANGELOG.md`). When true, the `test: unit`
5555
job is skipped.
5656

57-
### standards-compliance job
57+
### `ci: standards-compliance` job
5858

5959
Runs without Python or project dependencies. Steps:
6060

@@ -65,12 +65,12 @@ Runs without Python or project dependencies. Steps:
6565
| Commit message format | `scripts/lint/commit-messages.sh` | Pull requests only |
6666
| Issue linkage | `scripts/lint/pr-issue-linkage.sh` | Pull requests only |
6767

68-
### dependency-audit job
68+
### `ci: dependency-audit` job
6969

7070
Runs `pip-audit` against `requirements.txt` and `requirements-dev.txt` to
7171
detect known vulnerabilities.
7272

73-
### test-and-validate job
73+
### `test: unit` job
7474

7575
Skipped for docs-only changes. Otherwise runs:
7676

0 commit comments

Comments
 (0)