Skip to content

Commit e7ea973

Browse files
ci: Update pr-sort.yml
1 parent d999be3 commit e7ea973

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-sort.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ jobs:
109109
if: steps.changes.outputs.has_changes == 'true'
110110
uses: peter-evans/create-pull-request@v7
111111
with:
112-
title: ${{ steps.vars.outputs.pr_number != '' && format('Automated updates from PR #{0}', steps.vars.outputs.pr_number) || 'Automated updates' }}
112+
title: 'Automated updates from PR #${{ github.event.pull_request.number }}'
113113
body: |
114-
This PR was ${{ github.event_name == 'pull_request' && 'automatically created after merging' || 'manually triggered' }} ${{ steps.vars.outputs.pr_number != '' && format('#{0}', steps.vars.outputs.pr_number) || '' }}
114+
This PR was ${{ github.event_name == 'pull_request' && 'automatically created after merging' || 'manually triggered' }} ${{ steps.vars.outputs.pr_number }}
115115
116116
Changes include:
117117
- Sorted conferences
118-
${{ steps.vars.outputs.contributor != '' && format('- Added @{0} as contributor', steps.vars.outputs.contributor) || '' }}
118+
${{ steps.vars.outputs.contributor != '' && '- Added @'+ steps.vars.outputs.contributor+' as contributor') || '' }}
119119
120120
Please review and merge these automated updates.
121121
branch: ${{ steps.vars.outputs.branch_name }}

0 commit comments

Comments
 (0)