github: display original commit title for status workflows
GitHub Actions displays the workflow name instead of the commit title when a workflow is triggered by `workflow_run`. This makes it difficult to identify the commit associated with a status workflow run in the UI. Added the `run-name` attribute to all `status-*.yml` files, dynamically setting it to the `display_title` of the original workflow run. This restores visibility of the commit message or PR title in the Actions UI.
This commit is contained in:
1
.github/workflows/status-android.yml
vendored
1
.github/workflows/status-android.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: Android
|
||||
run-name: ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
||||
1
.github/workflows/status-ios.yml
vendored
1
.github/workflows/status-ios.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: iOS
|
||||
run-name: ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
||||
1
.github/workflows/status-linux.yml
vendored
1
.github/workflows/status-linux.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: Linux
|
||||
run-name: ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
||||
1
.github/workflows/status-macos.yml
vendored
1
.github/workflows/status-macos.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: macOS
|
||||
run-name: ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
||||
1
.github/workflows/status-web.yml
vendored
1
.github/workflows/status-web.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: Web
|
||||
run-name: ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
||||
1
.github/workflows/status-windows.yml
vendored
1
.github/workflows/status-windows.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: Windows
|
||||
run-name: ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
||||
Reference in New Issue
Block a user