can't seem to avoid repeating the branch name...
This commit is contained in:
parent
4c7fbf8186
commit
352180b239
6
src/tools/miri/.github/workflows/ci.yml
vendored
6
src/tools/miri/.github/workflows/ci.yml
vendored
@ -203,10 +203,10 @@ jobs:
|
|||||||
./miri fmt --check || (./miri fmt && git commit -am "fmt")
|
./miri fmt --check || (./miri fmt && git commit -am "fmt")
|
||||||
- name: Push changes to a branch
|
- name: Push changes to a branch
|
||||||
run: |
|
run: |
|
||||||
git switch -c "rustup$(date -u +%Y-%m-%d)"
|
BRANCH="rustup$(date -u +%Y-%m-%d)"
|
||||||
git push -u origin
|
git switch -c $BRANCH
|
||||||
|
git push -u origin $BRANCH
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
run: gh pr create -B master --title 'Automatic sync from rustc' --body ''
|
run: gh pr create -B master --title 'Automatic sync from rustc' --body ''
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user