Skip to content

Commit

Permalink
Make the syncing PR a bit harder to mess up.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Feb 1, 2018
1 parent dcd13b8 commit 910e9db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions etc/ci/update-wpt-checkout
Expand Up @@ -97,12 +97,14 @@ function unsafe_open_pull_request() {
git push -f "${REMOTE_NAME}" "${BRANCH_NAME}" || return 3

# Prepare the pull request metadata.
BODY="Automated downstream sync of changes from upstream as of "
BODY=":warning: Do not merge this PR without verifying that it "
BODY+="is not overwriting local changes to web-platform-tests. :warning:\n\n
BODY+="Automated downstream sync of changes from upstream as of "
BODY+="${CURRENT_DATE}.\n"
BODY+="[no-wpt-sync]"
cat <<EOF >prdata.json || return 4
{
"title": "Sync WPT with upstream (${CURRENT_DATE})",
"title": "[WIP] Sync WPT with upstream (${CURRENT_DATE})",
"head": "${WPT_SYNC_USER}:${BRANCH_NAME}",
"base": "master",
"body": "${BODY}",
Expand Down

0 comments on commit 910e9db

Please sign in to comment.