diff --git a/.github/workflows/github-actions-linter.yml b/.github/workflows/github-actions-linter.yml new file mode 100644 index 0000000..b6da090 --- /dev/null +++ b/.github/workflows/github-actions-linter.yml @@ -0,0 +1,17 @@ +name: Lint and Commit +on: push + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v3 + - uses: chartboost/ruff-action@v1 + with: + args: --check . + fix_args: --fix . + config: .ruff.toml + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: 'Applied linter fixes by ruff'