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
- Host: GitHub
- URL: https://github.com/fxwiegand/apply-clippy-lints
- Owner: fxwiegand
- License: mit
- Created: 2023-02-02T12:49:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T14:31:24.000Z (over 2 years ago)
- Last Synced: 2025-02-02T19:16:09.768Z (4 months ago)
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |