about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-07-02 14:01:22 +0200
committerRalf Jung <post@ralfj.de>2023-07-02 14:01:22 +0200
commit04db6778f7c5a662dcbd047ffb3c093027477368 (patch)
treef312214b0d07681415b0293c3f09f1cdc0ec0079
parent9e49f537c8bad886201120c41a3e9bd4b74240b2 (diff)
downloadrust-04db6778f7c5a662dcbd047ffb3c093027477368.tar.gz
rust-04db6778f7c5a662dcbd047ffb3c093027477368.zip
cronjob auto-PR: fetch more of the history
-rw-r--r--src/tools/miri/.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml
index 39b49f2eaec..c26c25e2530 100644
--- a/src/tools/miri/.github/workflows/ci.yml
+++ b/src/tools/miri/.github/workflows/ci.yml
@@ -188,6 +188,8 @@ jobs:
             --user $ZULIP_BOT_EMAIL --api-key $ZULIP_API_TOKEN --site https://rust-lang.zulipchat.com
       # Attempt to auto-sync with rustc
       - uses: actions/checkout@v3
+        with:
+          fetch-depth: 256 # get a bit more of the history
       - name: install josh-proxy
         run: cargo +stable install josh-proxy --git https://github.com/josh-project/josh --tag r22.12.06
       - name: start josh-proxy
@@ -198,8 +200,6 @@ jobs:
           git config --global user.email 'miri@cron.bot'
       - name: get changes from rustc
         run: |
-          git status # just to see more of what is happening
-          git checkout master # by default we are not on a branch
           ./miri rustc-pull
       - name: Install rustup-toolchain-install-master
         run: cargo install -f rustup-toolchain-install-master