Skip to content

Commit f54b3b2

Browse files
committed
Update man-pages workflow based on PR feedback
- Use better name/email for git commit - More details in the PR
1 parent 2a8bc21 commit f54b3b2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/update-man-pages.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@ jobs:
2424
./documentation/manpages/tool/run_docker.sh
2525
2626
if [[ -n $(git status -s) ]]; then
27-
git config user.name 'TODO'
28-
git config user.email 'TODO@example.com'
27+
git config user.name 'github-actions'
28+
git config user.email 'github-actions@github.com'
2929
date=$(date +%F)
3030
git add .
31-
title="Update man pages"
31+
title="[automated] Update man pages"
32+
body="This action is executed twice a month to automatically update the manpages based on the latest changes to the dotnet/docs repo"
3233
branch=update-man-page-$date
3334
git checkout -b $branch
3435
git commit -a -m "$title"
3536
git push -u origin $branch --force
36-
gh pr create --base main --head $branch --title "$title" --body "Auto-generated"
37+
gh pr create --base main --head $branch --title "$title" --body "$body"
3738
fi
3839
env:
3940
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)