about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-04-24 10:59:04 +0200
committerRalf Jung <post@ralfj.de>2025-04-24 10:59:04 +0200
commitf1b6b85f0840a4c14a3d955ea0b5c0164289f94a (patch)
treeb03c1b5350fb572ba37a56c44aa4f557a38a5073 /src
parent64969748821b06fdbcbd167623b2ac450d06c227 (diff)
downloadrust-f1b6b85f0840a4c14a3d955ea0b5c0164289f94a.tar.gz
rust-f1b6b85f0840a4c14a3d955ea0b5c0164289f94a.zip
CI: print message when skipping PR
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml
index bd6d51530a9..9dbf51e9796 100644
--- a/src/tools/miri/.github/workflows/ci.yml
+++ b/src/tools/miri/.github/workflows/ci.yml
@@ -121,7 +121,7 @@ jobs:
       - name: Push changes to a branch and create PR
         run: |
           # `git diff --exit-code` "succeeds" if the diff is empty.
-          if git diff --exit-code HEAD^; then exit 0; fi
+          if git diff --exit-code HEAD^; then echo "Nothing changed in rustc, skipping PR"; exit 0; fi
           # The diff is non-empty, create a PR.
           BRANCH="rustup-$(date -u +%Y-%m-%d)"
           git switch -c $BRANCH