An open API service indexing awesome lists of open source software.

https://github.com/fxwiegand/apply-clippy-lints

A GitHub action that applies lints from clippy and creates a new PR
https://github.com/fxwiegand/apply-clippy-lints

Last synced: 19 days ago
JSON representation

A GitHub action that applies lints from clippy and creates a new PR

Awesome Lists containing this project

README

        

# apply-clippy-lints
A GitHub action that applies lints from clippy and creates a new PR automatically to keep your code clean and up-to-date.

### Usage

```yaml
autofix:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Auto apply clippy lints
uses: fxwiegand/apply-clippy-lints@v1
with:
toolchain: stable
```

### Options

| Option | explanation | default |
|----------------|----------------------------------------|-------------------------------------|
| toolchain | The rust toolchain to use | stable |
| commit-message | The commit message of the generated PR | refactor: Apply latest clippy lints |