{"repo":"ScaCap/action-ktlint","free":true,"listed":false,"github":"https://github.com/ScaCap/action-ktlint","clone":"git clone https://github.com/ScaCap/action-ktlint.git","description":"Run Ktlint with reviewdog","language":"Shell","stars":92,"topics":["ktlint","reviewdog","kotlin","github-actions"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"GitHub Action: Run ktlint with reviewdog This action runs ktlint with reviewdog on pull requests to enforce best practices. Examples With github-pr-check By default, with reporter: github-pr-check an annotation is added to the line: With github-pr-review With reporter: github-pr-review a comment is added to the Pull Request Conversation: Inputs github token Required . Must be in form of github token: ${{ secrets.github token }} . level Optional. Report level for reviewdog [ info , warning , error ]. It's same as -level flag of reviewdog. The default is error . reporter Optional. Reporter of reviewdog command [ github-pr-check , github-pr-review , github-check ]. The default is github-pr-check . See reviewdog reporters documentation for more details on their functionality. filter mode Optional. Filtering for the reviewdog command [ added , diff context , file , nofilter ]. The default is added . See reviewdog filter mode documentation for more details. fail on error Optional. Exit code for reviewdog when errors are found [ true , false ] Default is false. See reviewdog fail on error documentation for more details. relative Optional. Print files relative to the working directory [ true / false ] The default value is true. android (deprecated) Optional. Runs KtLint with Android Kotlin Style Guide [ true / false ] The default value is false. Note: this field has no effect if ktlint version is 1.0.1 or later. code-style command-line argument is deprecated in ktlint. Instead, ktlin","default_branch":null,"files":null,"tree":[],"storefront":"/r/ScaCap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ScaCap/action-ktlint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}