ci: update-flake: declare PR body for unsupervised PR submissions
Fixes: a5c1532ab8 ("flake: partition dev inputs (#1289)")
This commit is contained in:
parent
b82fa908a9
commit
0ef1d62a31
1 changed files with 2 additions and 0 deletions
2
.github/workflows/update-flake.yml
vendored
2
.github/workflows/update-flake.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue