The main difference between this action and other similar ktlint Github Actions is focus on security. The action does not download anything blindly from the Internet. All downloaded files are validated against checksum.
name: reviewdog
on: [pull_request]
jobs:
ktlint:
name: Check Code Quality
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@master
- name: ktlint
uses: Qminder/github-action-ktlint@a49ec7642814f107db2ed70fd0911fc9af0079f5
with:
github_token: ${{ secrets.github_token }}