Skip to content

Commit f037471

Browse files
committed
Auto merge of rust-lang#2953 - RalfJung:cron, r=RalfJung
sadly 'gh' doesnt support all git upstream branch configs
2 parents 0bf13a4 + 2c5e076 commit f037471

File tree

1 file changed

+4
-2
lines changed
  • src/tools/miri/.github/workflows

1 file changed

+4
-2
lines changed

src/tools/miri/.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- 'master'
1212
schedule:
1313
- cron: '6 6 * * *' # At 6:06 UTC every day.
14-
- cron: '12 * * * *' # Also each hour, for testing
14+
- cron: '22 * * * *' # Also each hour, for testing
1515

1616
env:
1717
CARGO_UNSTABLE_SPARSE_REGISTRY: 'true'
@@ -203,7 +203,9 @@ jobs:
203203
./miri toolchain
204204
./miri fmt --check || (./miri fmt && git commit -am "fmt")
205205
- name: Push changes to a branch
206-
run: git push -u origin HEAD:"rustup$(date -u +%Y-%m-%d)"
206+
run: |
207+
git switch -c "rustup$(date -u +%Y-%m-%d)"
208+
git push -u origin
207209
- name: Create Pull Request
208210
run: gh pr create -B master --title 'Automatic sync from rustc' --body ''
209211
env:

0 commit comments

Comments
 (0)