Skip to content

Commit 0ad0a7a

Browse files
committed
ci: improve workflow names in Actions
- rename the validation and release workflows to be purpose-first in the Actions UI - add run-name values so manual and tag-triggered runs are easier to distinguish - add job names to make individual workflow runs easier to scan
1 parent 461693e commit 0ad0a7a

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: CI
1+
name: Validate
2+
run-name: Validate ${{ github.event_name == 'pull_request' && format('PR #{0}', github.event.pull_request.number) || github.ref_name }}
23

34
on:
45
pull_request:
@@ -11,6 +12,7 @@ permissions:
1112

1213
jobs:
1314
test:
15+
name: Run test suite
1416
runs-on: ubuntu-latest
1517

1618
steps:

.github/workflows/cut-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Cut Release
1+
name: Create Release
2+
run-name: Create ${{ inputs.bump }} release from ${{ github.ref_name }}
23

34
on:
45
workflow_dispatch:
@@ -21,6 +22,7 @@ concurrency:
2122

2223
jobs:
2324
tag:
25+
name: Tag and publish release
2426
runs-on: ubuntu-latest
2527

2628
steps:

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Release
1+
name: Publish Tagged Release
2+
run-name: Publish ${{ github.ref_name }}
23

34
on:
45
push:
@@ -10,6 +11,7 @@ permissions:
1011

1112
jobs:
1213
release:
14+
name: Publish release assets
1315
runs-on: ubuntu-latest
1416

1517
steps:

0 commit comments

Comments
 (0)