ci: update-flake: declare PR body for unsupervised PR submissions

Fixes: a5c1532ab8 ("flake: partition dev inputs (#1289)")
This commit is contained in:
NAHO 2025-11-20 16:22:17 +01:00
parent b82fa908a9
commit 0ef1d62a31
No known key found for this signature in database
GPG key ID: BFB5D5E3F4C95185

View file

@ -74,6 +74,7 @@ jobs:
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
base_branch: ${{ matrix.branch }}
body: "This is an automated update triggered by the [workflow run #${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})." # yamllint disable-line rule:line-length
pr_branch: update_flake_lock_action_${{ matrix.branch }}
title: "${{ startsWith(matrix.branch, 'release') && format('[{0}] ', matrix.branch) || '' }}flake: update public and dev inputs" # yamllint disable-line rule:line-length
run: |
@ -82,6 +83,7 @@ jobs:
gh pr create \
--base "$base_branch" \
--body "$body" \
--label "topic: dependencies" \
--title "$title" ||
echo "Failed to create PR"