Skip to content

Commit 8a1bd6c

Browse files
committed
Let job ids name the checks, lowercase the rest
1 parent 4e25294 commit 8a1bd6c

7 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/deb-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish GitHub Release
1+
name: Publish GitHub release
22

33
# Creates a pre-release on the caller's repo carrying the signed
44
# release-assets artifact. A re-run on an existing release refreshes
@@ -22,7 +22,7 @@ permissions:
2222

2323
jobs:
2424
publish:
25-
name: GitHub release
25+
name: github-release
2626
runs-on: ubuntu-latest
2727
permissions:
2828
contents: write

.github/workflows/deb-sign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
jobs:
2323
sign:
24-
name: Release assets
24+
name: release-assets
2525
runs-on: ubuntu-latest
2626
steps:
2727
# Inside a reusable workflow checkout defaults to the caller's

.github/workflows/dkms-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ permissions:
4848

4949
jobs:
5050
build:
51-
name: Source package
51+
name: source-package
5252
runs-on: ubuntu-latest
5353
outputs:
5454
package: ${{ steps.version.outputs.package }}

.github/workflows/dkms-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ permissions:
1717

1818
jobs:
1919
preflight:
20-
name: Verify paired source tag
2120
runs-on: ubuntu-latest
2221
outputs:
2322
packaging-version: ${{ steps.parse.outputs.packaging }}

.github/workflows/dkms-version-guard.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
packaged-content:
17-
name: PACKAGE_VERSION
16+
package-version:
1817
runs-on: ubuntu-latest
1918
steps:
2019
- name: Checkout driver source

.github/workflows/kernel-code-style.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ permissions:
2727

2828
jobs:
2929
clang-format:
30-
name: clang-format
3130
runs-on: ubuntu-latest
3231
steps:
3332
- name: Checkout driver source
@@ -41,7 +40,6 @@ jobs:
4140
clang-format-version: '19'
4241

4342
checkpatch:
44-
name: checkpatch
4543
runs-on: ubuntu-latest
4644
steps:
4745
- name: Checkout driver source

tests/version-guard-cases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extract() {
1515
"$1" - "$WORKFLOW" "$GUARD" <<'PY'
1616
import sys, yaml
1717
workflow, out = sys.argv[1], sys.argv[2]
18-
steps = yaml.safe_load(open(workflow))["jobs"]["packaged-content"]["steps"]
18+
steps = yaml.safe_load(open(workflow))["jobs"]["package-version"]["steps"]
1919
scripts = [s["run"] for s in steps if "run" in s]
2020
assert len(scripts) == 1, f"expected one run step, found {len(scripts)}"
2121
open(out, "w", newline="\n").write(scripts[0])

0 commit comments

Comments
 (0)