winapps/.github/workflows/rust-fmt.yml
2023-07-14 17:14:52 +02:00

23 lines
454 B
YAML

name: Rust Fmt
on:
push:
branches: [ "rewrite" ]
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Formatting Code
run: cargo fmt --all
- name: Create Pull Request
uses: repo-sync/pull-request@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
destination_branch: "rewrite"
source_branch: rewrite