From: George Joseph Date: Wed, 18 Dec 2024 15:16:51 +0000 (-0700) Subject: .github: Change the run name for OnPRStateChangedPriv X-Git-Tag: 21.7.0-rc1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d3ab32291149dcb8c4404083b96827be2fddb8c;p=thirdparty%2Fasterisk.git .github: Change the run name for OnPRStateChangedPriv (cherry picked from commit e98887f3dce5920ef066c84010a4496d1321ac7c) --- diff --git a/.github/workflows/OnPRStateChanged.yml b/.github/workflows/OnPRStateChanged.yml index 5b9d6bf66f..35e0642957 100644 --- a/.github/workflows/OnPRStateChanged.yml +++ b/.github/workflows/OnPRStateChanged.yml @@ -11,6 +11,9 @@ # accompanying OnPRStateChangedPriv workflow does just that. name: PRChanged +# WARNING! The run name MUST start with "PR ". +# The accompanying privleged workflow parses this to find +# the PR number. It's the only reliable way it can get it. run-name: "PR ${{ github.event.number }} ${{ github.event.action }} by ${{ github.actor }}" on: pull_request: diff --git a/.github/workflows/OnPRStateChangedPriv.yml b/.github/workflows/OnPRStateChangedPriv.yml index 96f3b42385..c4bdf46966 100644 --- a/.github/workflows/OnPRStateChangedPriv.yml +++ b/.github/workflows/OnPRStateChangedPriv.yml @@ -11,7 +11,7 @@ # of this workflow name. # name: PRChangedPriv -run-name: "PRChangedPriv ${{ github.event.workflow.name }} ${{ github.event.action }}" +run-name: "PRChangedPriv ${{ github.event.workflow_run.name }} ${{ github.event.action }}(${{ github.event.workflow_run.conclusion }})" on: workflow_run: workflows: [PRChanged]