parent
9c921a9289
commit
ee4cc086da
@ -0,0 +1,23 @@
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: ["main"]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
autofix:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
- run: go install github.com/google/yamlfmt/cmd/yamlfmt@latest
|
||||
- run: yamlfmt .
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
- run: pip install ruff
|
||||
- run: ruff format .
|
||||
- run: ruff check --fix .
|
||||
|
||||
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc
|
Loading…
Reference in new issue