You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# `git diff --exit-code` "succeeds" if the diff is empty.
169
-
if git diff --exit-code HEAD^; then echo "Nothing changed in rustc, skipping PR"; exit 0; fi
170
-
# The diff is non-empty, create a PR.
196
+
197
+
# Create a PR
171
198
BRANCH="rustup-$(date -u +%Y-%m-%d)"
172
199
git switch -c $BRANCH
173
200
git push -u origin $BRANCH
174
201
gh pr create -B master --title 'Automatic Rustup' --body 'Please close and re-open this PR to trigger CI, then enable auto-merge.'
175
202
env:
176
203
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177
-
ZULIP_BOT_EMAIL: ${{ secrets.ZULIP_BOT_EMAIL }}
178
-
ZULIP_API_TOKEN: ${{ secrets.ZULIP_API_TOKEN }}
179
204
180
205
cron-fail-notify:
181
206
name: cronjob failure notification
@@ -198,7 +223,7 @@ jobs:
198
223
It would appear that the [Miri cron job build]('"https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"') failed.
199
224
200
225
This likely means that rustc changed the miri directory and
201
-
we now need to do a [`./miri rustc-pull`](https://github.com/rust-lang/miri/blob/master/CONTRIBUTING.md#importing-changes-from-the-rustc-repo).
226
+
we now need to do a [`rustc-josh-sync pull`](https://github.com/rust-lang/miri/blob/master/CONTRIBUTING.md#importing-changes-from-the-rustc-repo).
0 commit comments