ci: update-flake: match PR title to commit title (#2043)

Link: https://github.com/nix-community/stylix/pull/2043
Fixes: b01dbcdc08 ("ci: update-flake: use one atomic commit")

Reviewed-by: 0xda157 <da157@voidq.com>
This commit is contained in:
NAHO 2025-12-01 01:54:03 +01:00 committed by GitHub
parent 961e2f02af
commit 794b6e1fa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,7 @@ jobs:
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
label: "topic: dependencies"
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
title: "${{ startsWith(matrix.branch, 'release') && format('[{0}] ', matrix.branch) || '' }}flake: update all inputs" # yamllint disable-line rule:line-length
run: |
git switch --create "$pr_branch"
git push origin "$pr_branch" --force --set-upstream