Skip to content

Commit 4d6b206

Browse files
committed
.github: Change the run name for OnPRStateChangedPriv
1 parent 464d22a commit 4d6b206

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/OnPRStateChanged.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
# accompanying OnPRStateChangedPriv workflow does just that.
1212

1313
name: PRChanged
14+
# WARNING! The run name MUST start with "PR <pr_number>".
15+
# The accompanying privleged workflow parses this to find
16+
# the PR number. It's the only reliable way it can get it.
1417
run-name: "PR ${{ github.event.number }} ${{ github.event.action }} by ${{ github.actor }}"
1518
on:
1619
pull_request:

.github/workflows/OnPRStateChangedPriv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# of this workflow name.
1212
#
1313
name: PRChangedPriv
14-
run-name: "PRChangedPriv ${{ github.event.workflow.name }} ${{ github.event.action }}"
14+
run-name: "PRChangedPriv ${{ github.event.workflow_run.name }} ${{ github.event.action }}(${{ github.event.workflow_run.conclusion }})"
1515
on:
1616
workflow_run:
1717
workflows: [PRChanged]

0 commit comments

Comments
 (0)