Update rust-fmt.yml

This commit is contained in:
LDprg 2023-07-14 17:22:31 +02:00 committed by GitHub
parent 81bea9f030
commit c1d0d6aea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,7 @@ jobs:
- name: Formatting Code
run: cargo fmt --all --verbose
- name: Create Pull Request
uses: repo-sync/pull-request@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
destination_branch: "rewrite"
source_branch: rewrite
- name: pull-request
run: |
gh_pr_up() { gh pr create $* || gh pr edit $* }
gh_pr_up --title "Bot Fix: Formatting" --body "Fix formatting with cargo fmt"