-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Detach the commit body of
assign-pr-number
(#3309)
Co-authored-by: Joongi Kim <[email protected]> Co-authored-by: octodog <[email protected]>
- Loading branch information
1 parent
2515edf
commit 81bb74e
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref}} | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 2 | ||
lfs: false | ||
token: ${{ secrets.WORKFLOW_PAT }} | ||
|
@@ -46,7 +46,8 @@ jobs: | |
git config user.name "$author_name" | ||
if [ -n "$(git diff --staged)" ]; then | ||
git commit \ | ||
-m "docs: Rename the news fragment with the PR number\n\n${{ join(fromJSON(steps.assign_pr_number.outputs.rename_results), '\n') }}" \ | ||
-m 'docs: Rename the news fragment with the PR number' \ | ||
-m $'${{ join(fromJSON(steps.assign_pr_number.outputs.rename_results), '\n') }}' \ | ||
--author="$author_name <$author_email>" \ | ||
--trailer "Co-authored-by: octodog <[email protected]>" | ||
git push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix the commit message format when assigning the PR number to an anonymous news fragment |