Skip to content

Commit d5771b7

Browse files
committed
wip
1 parent 8358531 commit d5771b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/update-swift-version.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ jobs:
6161
exit 0
6262
fi
6363
64+
title="Update to $latest"
65+
body="Updates the \`.swift-version\` file to Swift `$latest`.
66+
67+
> This PR was automatically generated."
68+
6469
git add .swift-version
65-
git commit -m "Update Swift version to $latest"
70+
git commit -m "$title" -m "$body"
6671
git push -u origin "$branch"
6772
6873
gh auth setup-git
6974
pr=$(gh pr list --head "$branch" --state open --json number --jq '.[0].number')
7075
71-
title="ci: update Swift version to $latest"
72-
body="Updates the \`.swift-version\` file to Swift `$latest`.
73-
74-
> This PR was automatically generated."
75-
7676
if [[ -z "$pr" ]]; then
7777
gh pr create \
7878
--title "$title" \

0 commit comments

Comments
 (0)