This Action wraps repolinter allowing easy linting of your repository!
args- Optional. These are the arguments to pass to therepolinterCLI.
CUSTOM_REPOLINT_FILE- Optional. You can override the default configuration. See todogroup/repolinter for more info on that.
repolinter CLI will automatically lint your repository`:
name: Lint repository
on: [push]
jobs:
repo-lint:
name: "repolint"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Test repolinter
uses: philips-labs/github-action-repolinter@masterSpecify the configuration file:
name: Lint repository
on: [push]
jobs:
repo-lint-custom:
name: "repolint custom"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Test repolinter
uses: philips-labs/github-action-repolinter@master
env:
CUSTOM_REPOLINT_FILE: repolint.jsonSpecify the configuration file:
name: Lint repository
on: [push]
jobs:
repo-lint-git:
name: "repolint git"
runs-on: ubuntu-latest
steps:
- name: Test repolinter
uses: philips-labs/github-action-repolinter@master
with:
args: --git https://github.com/philips-labs/garoSpecify the configuration file:
name: Lint repository
on: [push]
jobs:
repo-lint-git-custom:
name: "repolint git custom"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Test repolinter
uses: philips-labs/github-action-repolinter@master
with:
args: --git https://github.com/philips-labs/garo
env:
CUSTOM_REPOLINT_FILE: repolint.json