Approve PR automatically after WPT sync successfully

This commit is contained in:
cybai 2023-01-24 11:22:23 +09:00
parent 941bd6a579
commit 9b9a7aea02

View file

@ -134,5 +134,6 @@ jobs:
r? @servo-wpt-sync
EOF
)
# TODO: comment `@bors-servo r+` from `@servo-wpt-sync`
gh pr create --title "Sync WPT with upstream (${{ env.CURRENT_DATE }})" --body "$BODY" --head ${{ env.UPDATE_BRANCH }}
gh pr create \
--title "Sync WPT with upstream (${{ env.CURRENT_DATE }})" \
--body "$BODY" --head ${{ env.UPDATE_BRANCH }} | xargs gh pr comment $1 --body "@bors-servo r+"