From f2ce23074e83e679d22e66871ff65b04406f8f5c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 2 Jul 2023 19:02:34 +0200 Subject: [PATCH] cron auto-PR: need to set upstream branch --- src/tools/miri/.github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml index 747ac1f32ab..8e1be3fa423 100644 --- a/src/tools/miri/.github/workflows/ci.yml +++ b/src/tools/miri/.github/workflows/ci.yml @@ -204,8 +204,8 @@ jobs: ./miri fmt --check || (./miri fmt && git commit -am "fmt") - name: Push changes to a branch run: | - git switch -c "rustup$(date -u +%Y-%m)" - git push + git switch -c "rustup$(date -u +%Y-%m-%d)" + git push -u - name: Create Pull Request run: gh pr create -B master --title 'Automatic sync from rustc' --body '' env: