Skip to content

Commit

Permalink
sadly 'gh' doesnt support all git upstream branch configs
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 2, 2023
1 parent 0bf13a4 commit 2c5e076
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tools/miri/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'master'
schedule:
- cron: '6 6 * * *' # At 6:06 UTC every day.
- cron: '12 * * * *' # Also each hour, for testing
- cron: '22 * * * *' # Also each hour, for testing

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

0 comments on commit 2c5e076

Please sign in to comment.