Add actor info

This commit is contained in:
kagami 2024-04-16 16:53:49 +08:00
parent 8d46415849
commit d085ab6e76

View File

@ -84,7 +84,7 @@ jobs:
git commit -m "Sync up site-packages to devchat[$DEVCHAT_BRANCH]($DEVCHAT_HEXSHA)"
git status
git push origin $BRANCH_NAME
echo -e "This PR is auto-generated by GitHub Action. \n- devchat branch: \`$DEVCHAT_BRANCH\` \n- devchat hexsha: \`$DEVCHAT_HEXSHA\`" > pr_body
echo -e "This PR is auto-generated by GitHub Action. \n- devchat branch: \`$DEVCHAT_BRANCH\` \n- devchat hexsha: \`$DEVCHAT_HEXSHA\` \n- actor: ${{ github.triggering_actor }}" > pr_body
PR_BODY=$(cat pr_body)
gh pr create \
--title "Sync up site-packages to devchat[$DEVCHAT_BRANCH]($DEVCHAT_HEXSHA) $TIMESTAMP" \