From 154b5c6a8239d23dfb127cd17a3de6cebf1041cf Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Sat, 17 Feb 2024 17:12:31 -0500 Subject: [PATCH] fix(github): update workflow run title for releases triggered by `main` --- .github/workflows/bdt-fe--release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bdt-fe--release.yml b/.github/workflows/bdt-fe--release.yml index 86c4f061..d2e4e7b4 100644 --- a/.github/workflows/bdt-fe--release.yml +++ b/.github/workflows/bdt-fe--release.yml @@ -1,5 +1,5 @@ name: 🧑‍🚀 Build & Deploy Release -run-name: "🧑‍🚀 ${{ inputs.env == 'prd' && 'PRD' || 'STG' }} - Build, Deploy, and Test - ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}" +run-name: "🧑‍🚀 ${{ github.event_name == 'push' && 'PRD' || inputs.env == 'prd' && 'PRD' || 'STG' }} - Build, Deploy, and Test - ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}" on: workflow_dispatch: