Rust Example
Repository: janitor-sh/rust-example
Run locally
Section titled “Run locally”cargo runValidate janitor locally
Section titled “Validate janitor locally”janitor --no-commitCI behavior
Section titled “CI behavior”The example workflow runs on pushes and pull requests to main and executes janitor using Clippy:
- name: Install clippy run: rustup component add clippy
- uses: janitor-sh/action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} tool: "clippy"
- name: Push Janitor commit run: git push