Files
gitea-debian-runner/.github/workflows/lint.yml
T
Ryan (hackercat) 6ffb01cfd3 Refactor again (#11)
2021-05-28 13:31:42 +02:00

25 lines
519 B
YAML

name: Lint Code Base
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint
uses: nvuillam/mega-linter/flavors/documentation@v4
env:
VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }}
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}