workflows/add-override: include reason URL in PR description if one was given

This commit is contained in:
Rolv Apneseth 2026-10-21 17:49:50 +01:00
parent cef6f0df87
commit 952c859171

View file

@ -87,7 +87,10 @@ jobs:
commit-message: ${{ env.COMMIT_TITLE }}
push-to-fork: coreosbot-releng/fedora-coreos-config
title: ${{ env.PR_TITLE }}
body: "Requested by @${{ github.actor }} via [GitHub workflow](${{ github.server_url }}/${{ github.repository }}/actions/workflows/add-override.yml) ([source](${{ github.server_url }}/${{ github.repository }}/blob/testing-devel/.github/workflows/add-override.yml))."
body: |
Requested by @${{ github.actor }} via [GitHub workflow](${{ github.server_url }}/${{ github.repository }}/actions/workflows/add-override.yml) ([source](${{ github.server_url }}/${{ github.repository }}/blob/testing-devel/.github/workflows/add-override.yml)).
${{ github.event.inputs.reason && format('See: {0}', github.event.inputs.reason) || '' }}
committer: "CoreOS Bot <coreosbot@fedoraproject.org>"
author: "CoreOS Bot <coreosbot@fedoraproject.org>"
delete-branch: true