diff options
| author | Ralf Jung <post@ralfj.de> | 2025-04-24 10:59:04 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-04-24 10:59:04 +0200 |
| commit | f1b6b85f0840a4c14a3d955ea0b5c0164289f94a (patch) | |
| tree | b03c1b5350fb572ba37a56c44aa4f557a38a5073 /src | |
| parent | 64969748821b06fdbcbd167623b2ac450d06c227 (diff) | |
| download | rust-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.yml | 2 |
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 |
